Skip to content

Commit 9a1f6c7

Browse files
committed
chore: add changelog and bump version to 1.25.0
1 parent 8f720d3 commit 9a1f6c7

5 files changed

Lines changed: 29 additions & 4 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"source": {
1010
"source": "npm",
1111
"package": "@copilotkit/aimock",
12-
"version": "^1.24.0"
12+
"version": "^1.25.0"
1313
},
1414
"description": "Fixture authoring skill for @copilotkit/aimock — LLM, multimedia (image/TTS/transcription/video), MCP, A2A, AG-UI, vector, embeddings, structured output, sequential responses, streaming physics, record/replay, agent loop patterns, and debugging"
1515
}

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aimock",
3-
"version": "1.24.0",
3+
"version": "1.25.0",
44
"description": "Fixture authoring guidance for @copilotkit/aimock — LLM, multimedia, MCP, A2A, AG-UI, vector, and service mocking",
55
"author": {
66
"name": "CopilotKit"

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,31 @@
44

55
### Added
66

7+
- **Gemini `embedContent` endpoint**`POST /v1beta/models/{model}:embedContent`
8+
with deterministic fallback embeddings and fixture matching
9+
- **`/v1/images/edit` and `/v1/images/variations` endpoints** — multipart
10+
form-data, same response format as generations. Closes #221
11+
- **`/v1/audio/translations` endpoint** — reuses transcription handler with
12+
`endpoint: "translation"` and `task: "translate"` in verbose mode
13+
- **Ollama `/api/embeddings` endpoint** — single-embedding response, supports
14+
both `prompt` and `input` (string or array) fields
15+
- **Cohere `/v2/embed` endpoint** — multi-text embedding with configurable
16+
`embedding_types` (float, int8, etc.)
17+
- **ElevenLabs `/v1/text-to-speech/{voice_id}` endpoint** — binary audio
18+
response with voice routing and `onElevenLabsTTS` helper
19+
- **Streaming usage chunks** — when `stream_options.include_usage` is set,
20+
emits a final SSE chunk with token usage before `[DONE]`
21+
- **Automatic token usage estimation** — responses without explicit fixture
22+
`usage` overrides now return estimated token counts (~4 chars/token)
23+
instead of zeros
24+
- **Rate limiting headers on 429 responses**`Retry-After`,
25+
`x-ratelimit-limit-*`, `x-ratelimit-remaining-*`,
26+
`x-ratelimit-reset-*` headers on all error fixtures with status 429.
27+
Custom `retryAfter` override via fixture field
28+
- **`onTranslation` convenience method** — register translation fixtures
29+
with endpoint discrimination
30+
- **`onElevenLabsTTS` convenience method** — register ElevenLabs TTS
31+
fixtures
732
- **Configurable proxy timeouts**`RecordConfig` now accepts `upstreamTimeoutMs` (default 30s) and `bodyTimeoutMs` (default 30s). The body-idle timeout is the Node socket inactivity timer that fires `req.destroy()` mid-stream; under concurrent load against reasoning models (e.g. Grok 4.3 + structured output), token-emission gaps can routinely exceed 30s during the thinking phase, causing record-mode runs to truncate SSE responses mid-stream with no `[DONE]` and no `finish_reason`. Lift to e.g. `bodyTimeoutMs: 180_000` to record cleanly under that workload.
833

934
## [1.24.1] - 2026-05-14

charts/aimock/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: aimock
33
description: Mock infrastructure for AI application testing (OpenAI, Anthropic, Gemini, MCP, A2A, vector)
44
type: application
55
version: 0.1.0
6-
appVersion: "1.23.0"
6+
appVersion: "1.25.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@copilotkit/aimock",
3-
"version": "1.24.1",
3+
"version": "1.25.0",
44
"description": "Mock infrastructure for AI application testing — LLM APIs, image generation, text-to-speech, transcription, audio generation, video generation, MCP tools, A2A agents, AG-UI event streams, vector databases, search, rerank, and moderation. One package, one port, zero dependencies.",
55
"license": "MIT",
66
"keywords": [

0 commit comments

Comments
 (0)