mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-16 22:57:53 +08:00
- Route OpenAI Chat Completions response_format and Responses text.format json_schema payloads to Claude output_config.format via ojson.Doc while keeping system-prompt fallback for legacy Claude models and non-schema formats. - Preserve optional schema name and description in a short system instruction without repeating the JSON schema body. - Include output_config.format.schema in local Claude input token estimation and add translator and executor regression tests. Closes: #7576