mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 21:03:19 +00:00
- Skip empty assistant messages (no content, no tool calls) to avoid Mistral's 'Assistant message must have either content or tool_calls' error - Remove synthetic assistant bridge message after tool results (Mistral no longer requires this as of Dec 2024) - Add test for empty assistant message handling Follow-up to #165 |
||
|---|---|---|
| .. | ||
| data | ||
| abort.test.ts | ||
| agent.test.ts | ||
| context-overflow.test.ts | ||
| empty.test.ts | ||
| google-thought-signature.test.ts | ||
| handoff.test.ts | ||
| image-tool-result.test.ts | ||
| mistral-debug.test.ts | ||
| mistral-empty-assistant.test.ts | ||
| mistral-sdk.test.ts | ||
| stream.test.ts | ||
| tokens.test.ts | ||
| tool-call-without-result.test.ts | ||
| tool-validation.test.ts | ||
| total-tokens.test.ts | ||
| unicode-surrogate.test.ts | ||
| xhigh.test.ts | ||