co-mono/packages/ai/test
theBucky 4f757fbe23 fix(ai): correct Google thinking detection and remove unsupported id fields
- isThinkingPart now only checks thought === true, not thoughtSignature
- thoughtSignature is for context replay and can appear on any part type
- Store thoughtSignature on text blocks as textSignature for proper replay
- Remove id from functionCall/functionResponse (unsupported by Vertex/Cloud Code Assist)

Refs: https://ai.google.dev/gemini-api/docs/thought-signatures
Co-authored-by: Amp <amp@ampcode.com>
2026-01-11 19:25:38 +01:00
..
data feat(ai): Add image input tests for vision-capable models 2025-08-30 18:37:17 +02:00
abort.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
context-overflow.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
empty.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
google-thinking-signature.test.ts fix(ai): correct Google thinking detection and remove unsupported id fields 2026-01-11 19:25:38 +01:00
handoff.test.ts Enable more biome lints and fix things 2025-12-21 22:56:20 +01:00
image-limits.test.ts Fix image limits test to use realistic payload sizes 2025-12-16 23:48:59 +01:00
image-tool-result.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
oauth.ts WIP: Remove global state from pi-ai OAuth/API key handling 2025-12-25 01:01:03 +01:00
openai-codex-include.test.ts refactor(ai): streamline codex prompt handling 2026-01-06 10:27:51 +01:00
openai-codex-stream.test.ts fix(ai): update codex stream originator test 2026-01-10 21:54:21 +00:00
openai-codex.test.ts Prepare for alternative Codex harness certification 2026-01-10 13:22:10 +01:00
stream.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
tokens.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
tool-call-without-result.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
total-tokens.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
unicode-surrogate.test.ts fix: codex thinking handling 2026-01-05 21:55:47 +01:00
xhigh.test.ts Add xhigh thinking level for OpenAI codex-max models 2025-12-08 21:12:54 +01:00
zen.test.ts fix(ai): skip zen tests when OPENCODE_API_KEY is not set (#605) 2026-01-09 18:41:12 +01:00