|
1 | 1 | # @copilotkit/aimock |
2 | 2 |
|
| 3 | +## Unreleased — Provider Spec Conformance Audit |
| 4 | + |
| 5 | +### Fixed |
| 6 | + |
| 7 | +- **Responses API request conversion** — forward `max_output_tokens` and `response_format` from Responses requests to the underlying Chat Completions call |
| 8 | +- **Gemini request conversion** — forward `maxOutputTokens`, `topP`, `topK` from `generationConfig`; remove synthetic `functionCall.id` that real Gemini does not produce |
| 9 | +- **Cohere request conversion** — structured content (images, documents), native tool definitions, `temperature`, `max_tokens`, and `stop_sequences` now forwarded |
| 10 | +- **Ollama request conversion** — `tool_calls` on assistant messages, base64 `images` on user messages, `system` parameter on `/api/generate` |
| 11 | +- **Chat Completions error responses** — add `param` field per OpenAI error spec |
| 12 | +- **Moderation response shape** — correct `categories` and `category_scores` to match the real OpenAI moderation object (boolean flags + float scores) |
| 13 | +- **Transcription verbose response** — add `task`, `duration`, `segments`, `words` fields for `verbose_json` format |
| 14 | +- **Search response shape** — add `status` field to search results |
| 15 | +- **Rerank response shape** — wrap results in `{ results: [...] }` with `relevance_score` per result |
| 16 | +- **Realtime WebSocket** — add `previous_item_id` to conversation items, correct event ID prefixes, add missing fields on session and response events |
| 17 | +- **Gemini Live WebSocket** — `generationConfig` alias for `generation_config`, `turnComplete` server event, correct gRPC status codes in error events, complete `httpToGrpc` mapper |
| 18 | +- **Anthropic thinking blocks** — add `signature` field to `thinking` content blocks and `signature_delta` event type for extended thinking with signatures |
| 19 | + |
| 20 | +### Added |
| 21 | + |
| 22 | +- **Drift tests for 9 multimedia/auxiliary providers** — images, speech/TTS, transcription/STT, moderation, ElevenLabs audio, fal.ai, fal.ai queue lifecycle, video, rerank |
| 23 | +- **Error shape drift tests** — OpenAI Chat, Anthropic Claude, Gemini, Cohere error response shapes validated against SDK types |
| 24 | +- **Reasoning/thinking drift tests** — OpenAI Chat `reasoning_effort`, OpenAI Responses `reasoning`, Anthropic `thinking` content blocks, Gemini `thinking_config` |
| 25 | + |
3 | 26 | ## [1.19.4] - 2026-05-08 |
4 | 27 |
|
5 | 28 | ### Fixed |
|
0 commit comments