Skip to content

test

test #43

Triggered via push November 15, 2025 20:31
Status Failure
Total duration 53s
Artifacts

ci.yml

on: push
Lint and Type Check
27s
Lint and Type Check
Test
47s
Test
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Test
Process completed with exit code 1.
Test
@poppy/interaction-worker#test: command (/home/runner/work/poppy/poppy/apps/interaction-worker) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
src/test/integration/webhook.test.ts > Webhook endpoint > POST / should accept valid message_inbound webhook and store in database: apps/interaction-worker/src/services/process-message/generate-response.ts#L33
AI_UnsupportedModelVersionError: Unsupported model version undefined for provider "undefined" and model "undefined". AI SDK 5 only supports models that implement specification version "v2". ❯ resolveLanguageModel home/runner/work/poppy/poppy/node_modules/ai/dist/index.mjs:502:13 ❯ generateText home/runner/work/poppy/poppy/node_modules/ai/dist/index.mjs:3196:17 ❯ ToolLoopAgent.generate home/runner/work/poppy/poppy/node_modules/ai/dist/index.mjs:6638:12 ❯ generateResponse src/services/process-message/generate-response.ts:33:27 ❯ processMessage src/services/process-message/process-message.ts:63:9 ❯ handleMessageInbound src/services/loop/loop-message-inbound-handler.ts:97:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { version: undefined, provider: undefined, modelId: undefined }
src/test/integration/health.test.ts: apps/interaction-worker/src/tools/web-search.ts#L7
ExaError: API key must be provided as an argument or as an environment variable (EXASEARCH_API_KEY) ❯ new Exa2 home/runner/work/poppy/poppy/node_modules/exa-js/dist/index.mjs:1318:15 ❯ createWebSearchTool src/tools/web-search.ts:7:15 ❯ src/tools/web-search.ts:31:26 ❯ src/services/process-message/generate-response.ts:4:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { statusCode: 401, timestamp: '2025-11-15T20:32:28.323Z', path: undefined }
src/test/unit/do-debouncer.test.ts: apps/interaction-worker/src/tools/web-search.ts#L7
ExaError: API key must be provided as an argument or as an environment variable (EXASEARCH_API_KEY) ❯ new Exa2 home/runner/work/poppy/poppy/node_modules/exa-js/dist/index.mjs:1318:15 ❯ createWebSearchTool src/tools/web-search.ts:7:15 ❯ src/tools/web-search.ts:31:26 ❯ src/services/process-message/generate-response.ts:4:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { statusCode: 401, timestamp: '2025-11-15T20:32:22.988Z', path: undefined }
Unhandled error: apps/interaction-worker/src/services/process-message/generate-response.ts#L33
AI_UnsupportedModelVersionError: Unsupported model version undefined for provider "undefined" and model "undefined". AI SDK 5 only supports models that implement specification version "v2". ❯ resolveLanguageModel home/runner/work/poppy/poppy/node_modules/ai/dist/index.mjs:502:13 ❯ generateText home/runner/work/poppy/poppy/node_modules/ai/dist/index.mjs:3196:17 ❯ ToolLoopAgent.generate home/runner/work/poppy/poppy/node_modules/ai/dist/index.mjs:6638:12 ❯ generateResponse src/services/process-message/generate-response.ts:33:27 ❯ processMessage src/services/process-message/process-message.ts:63:9 ❯ handleMessageInbound src/services/loop/loop-message-inbound-handler.ts:97:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { version: undefined, provider: undefined, modelId: undefined } This error originated in "src/test/integration/webhook.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "POST / should accept valid message_inbound webhook and store in database". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.