mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 09:01:20 +00:00
test(ai): Add comprehensive E2E tests for all AI providers
- Add multi-turn test to verify thinking and tool calling work together - Test thinkingSignature handling for proper multi-turn context - Fix Gemini provider to generate base64 thinkingSignature when needed - Handle multiple rounds of tool calls in tests (Gemini behavior) - Make thinking tests more robust for model-dependent behavior - All 18 tests passing across 4 providers
This commit is contained in:
parent
289e60ab88
commit
7a6852081d
7 changed files with 463 additions and 88 deletions
|
|
@ -13,14 +13,14 @@
|
|||
"clean": "rm -rf dist",
|
||||
"build": "tsc -p tsconfig.build.json",
|
||||
"check": "biome check --write .",
|
||||
"test": "npx tsx --test test/providers.test.ts",
|
||||
"prepublishOnly": "npm run clean && npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "0.60.0",
|
||||
"@google/genai": "1.14.0",
|
||||
"@google/generative-ai": "^0.24.1",
|
||||
"@anthropic-ai/sdk": "^0.60.0",
|
||||
"@google/genai": "^1.15.0",
|
||||
"chalk": "^5.5.0",
|
||||
"openai": "5.12.2"
|
||||
"openai": "^5.15.0"
|
||||
},
|
||||
"keywords": [
|
||||
"ai",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue