fix(anthropic): use anthropic sdk to transform malformed response schemas to anthropic format #9059
ci.yml
on: pull_request
Detect Version
Test and Build
/
Test and Build
42s
Check Docs Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs
/
Process Documentation Embeddings
Matrix: Create GHCR Manifests
Annotations
3 errors and 3 warnings
|
Test and Build / Test and Build
Process completed with exit code 1.
|
|
executor/handlers/workflow/workflow-handler.test.ts:
apps/sim/providers/anthropic/index.ts#L2
Error: Cannot find package '@anthropic-ai/sdk/lib/transform-json-schema' imported from '/home/runner/_work/sim/sim/apps/sim/providers/anthropic/index.ts'
❯ providers/anthropic/index.ts:2:1
❯ providers/registry.ts:2:1
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @anthropic-ai/sdk/lib/transform-json-schema (resolved id: @anthropic-ai/sdk/lib/transform-json-schema) in /home/runner/_work/sim/sim/apps/sim/providers/anthropic/index.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22663:33
|
|
Test and Build / Test and Build
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test and Build
- Step: unknown (failed)
|
|
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
|