|
1 | 1 | # @copilotkit/aimock |
2 | 2 |
|
3 | | -## 1.15.0 |
| 3 | +## 1.15.1 |
4 | 4 |
|
5 | | -### Added |
| 5 | +### Fixed |
6 | 6 |
|
7 | | -- Chaos injection in proxy mode: drop and disconnect fire pre-flight (upstream is never |
8 | | - contacted), malformed proxies the request then corrupts the response body before |
9 | | - delivering it to the client. |
10 | | -- SSE streaming bypass: when upstream responds with `text/event-stream`, malformed chaos |
11 | | - is silently skipped (bytes are already on the wire). A bypass metric |
12 | | - (`aimock_chaos_bypassed_total`) is emitted so operators can see the configured action |
13 | | - did not fire; the normal `aimock_chaos_triggered_total` counter does not increment. |
14 | | -- Chaos source label (`fixture` vs `proxy`) on Prometheus metrics and journal entries, |
15 | | - distinguishing where the chaos decision was made. |
16 | | -- CORS `Access-Control-Allow-Headers` now includes `X-Aimock-Chaos-Drop`, |
17 | | - `X-Aimock-Chaos-Malformed`, `X-Aimock-Chaos-Disconnect`, and `X-Test-Id`, enabling |
18 | | - browser-based clients to send per-request chaos overrides via preflight-safe headers. |
19 | | -- `handleVideoStatus` (`GET /v1/videos/:id`) now evaluates chaos before returning video |
20 | | - state, consistent with all other handler endpoints. |
| 7 | +- **Recorder**: crash hardening (headersSent guards, clientDisconnected tracking), |
| 8 | + preserve content alongside toolCalls, Cohere v2 native detection, tool-call ID |
| 9 | + extraction from 5 providers, reasoning/thinking extraction from 4 providers, |
| 10 | + multi-block text join (filter+join instead of find), thinking-only and empty-content |
| 11 | + response handling, Ollama /api/generate format detection, streaming collapse |
| 12 | + reasoning propagation. |
| 13 | +- **Bedrock/Converse**: ContentWithToolCallsResponse support, ResponseOverrides wired |
| 14 | + into all non-streaming and streaming builders, Converse-wrapped stream event format, |
| 15 | + text_delta type field on text deltas, proper error envelope on Converse errors, |
| 16 | + webSearches warnings. |
| 17 | +- **Cohere v2**: reasoning in all builders + streaming, webSearches warnings, |
| 18 | + response_format forwarding, assistant tool_calls preservation, full |
| 19 | + ResponseOverrides (finish_reason, usage, id) in non-streaming and streaming paths. |
| 20 | +- **Server**: readBody 10MB size limit, control API error detail, one-shot error fixture |
| 21 | + race fix, normalizeCompatPath clarity, fixtures_loaded gauge updates on mutations. |
| 22 | +- **Competitive matrix**: HTML pipeline fixed (computeChanges, applyChanges, |
| 23 | + updateProviderCounts, extractFeatures all aligned with actual DOM structure). |
| 24 | +- **CI workflows**: --auto merge (respects branch protection), Slack secrets via env |
| 25 | + vars, script injection prevention in notify-pr.yml, portable grep. |
| 26 | +- **Router**: RegExp g-flag lastIndex reset prevents alternating match/no-match. |
| 27 | +- **Jest/Vitest**: save/restore pre-existing env vars in afterAll, loadFixtures |
| 28 | + console.warn on failure. |
| 29 | +- **Gemini**: tool_call_id collision fix (shared callCounter), thought-part filtering. |
| 30 | +- **Ollama**: ContentWithToolCallsResponse support, default stream:true, field validation. |
21 | 31 |
|
22 | 32 | ## 1.14.9 |
23 | 33 |
|
|
0 commit comments