概要
概要
Kaeso 0.7.3 sends an Anthropic app's request to a provider's own Messages API without translating it, when the provider lists it for the model and the model's catalogue entry names no egress dialect. It also ends a ChatGPT plan's reply at the app's output limit and holds an account at its plan's usage limit for longer between retries. When Kaeso can't check a project's hard budgets or load its limits, it refuses the request as Kaeso being busy, and a request sent through the gateway and also reported to a source counts once across an organization's projects. No change is marked as breaking.
变更3
变更
- 01#1506
An Anthropic app's request goes as it came to a provider's own Messages API instead of being translated into Chat Completions and back, when the provider lists it for the model and the model's catalogue entry names no egress dialect. This covers DeepSeek, Moonshot (K3 models), QwenCloud (Qwen models), Baidu Qianfan, DeepInfra, OpenRouter, Hugging Face, Ollama Cloud, Tencent TokenHub, Fireworks AI, SambaNova and Vercel. KPMR's or the organization's Sends as setting always wins, so sending a model as Chat Completions keeps the translation; the Anthropic stream decoder also reads DeepSeek's timeout frame as DeepSeek's error with its message, where the stream failed with "ended before
message_stop" before. - 02#1511
A request after a pause no longer waits for its project's settings to load one after another: every entry that ran out, such as limits, log settings or the response cache, now loads in parallel with the others. Entries stay warm for an hour after their last use instead of 15 minutes.
stream_processingnow adds up only the decoding, translating and encoding of each batch, no longer the time spent waiting. The warm path is unchanged.
Documentation
03- 03#1508
The performance page shows the benchmark run of Kaeso 0.7.2 and a new section on what changed since 0.7.0, in English, German and Simplified Chinese. Peak memory at full load with request logs on fell from 450 to 212 MB, which fits 0.7.2 bounding the rows that wait for ClickHouse by
logs.buffer_size. The median at 16 clients and the databases' peak memory rose, and the page says the runs can't tell whether 0.7.2 or the machine caused that.
修复6
修复
- 01#1505
A ChatGPT plan's reply now stops at the app's output limit. The plan's Responses route refuses
max_output_tokens, so Kaeso remembers the app's limit and ends the reply itself with the stop reason of the app's format:max_tokensfor Anthropic,lengthfor Chat Completions,incompletewithmax_output_tokensfor Responses. Usage is logged as an estimate. Tool call arguments from another format now stream to Anthropic apps as they arrive instead of as oneinput_json_deltawhen the block ends; only leading blank text waits, and the arguments the app accumulates are unchanged. - 02#1507
An account at its plan's usage limit, such as a ChatGPT plan, is held longer with each limit in a row instead of being tried again every 5 minutes. Without a stated wait the hold is 5, 15 and 45 minutes, then 2 hours at most. A stated
Retry-Afterholds the account that long, at least 5 minutes and now up to a week (it was capped at an hour). Any answer from the account starts the backoff over at 5 minutes. - 03#1509
When Kaeso can't check a project's hard budgets because its limit counters are unreachable, or can't load the project's limits, it refuses the request before any provider is called as Kaeso being busy: 503 for OpenAI formats and Gemini, 529 for Anthropic apps, with
Retry-After: 5. The request log showsoverloadedinstead ofprovider_erroragainst a provider that was never called, and OpenAI Chat Completions and Responses apps get 503 instead of 500. An alias route still stops at this refusal. - 04#1510
A request that a client sends through the gateway and also reports to a source (Claude Code, Codex, Gemini CLI, Antigravity or LiteLLM, for example) now counts once across an organization's projects, where matching was per project. The gateway notes its requests before the reply ends, and failed gateway requests are noted too. Models named with an effort level log as one model, and the request log keeps each request's reasoning effort. A provider a client only derives from its own setup is priced like the source kind's usual provider first, and the model's maker when that provider doesn't sell the model.
- 05#1514
QwenCloud's Messages API errors now reach apps with QwenCloud's message and kind. The Messages error decoder reads DashScope's error body by its code, as it does for Chat Completions, and takes the data of an error body sent as an SSE
event:errorframe with a non-2xx status. A refusal for a spent free quota is now a billing refusal with QwenCloud's message; before, apps gotpermission_deniedand a message that the provider returned an HTTP 403 with a body that is not an Anthropic error.
KPP
06- 06#1512
The validation error for a tool call or result in the wrong message now names that message's role, such as "message 2 has the role
assistant", instead of "message 2 is a assistant message".































