Skip to content

Tool loop agent

Tool loop agent #42

Triggered via push November 12, 2025 03:45
Status Failure
Total duration 54s
Artifacts

ci.yml

on: push
Lint and Type Check
24s
Lint and Type Check
Test
46s
Test
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Test
Process completed with exit code 1.
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/main-response.ts:4:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { statusCode: 401, timestamp: '2025-11-12T03:46:01.946Z', path: undefined }
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/main-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 ❯ mainResponse src/services/process-message/main-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/main-response.ts:4:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { statusCode: 401, timestamp: '2025-11-12T03:46:07.265Z', path: undefined }
Unhandled error: apps/interaction-worker/src/services/process-message/main-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 ❯ mainResponse src/services/process-message/main-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.
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)