plano/crates
Troy Mitchell c34ff5b5fd feat: preserve original JSON bytes for prompt cache compatibility
Avoid re-serializing request bodies when unnecessary to maintain
JSON key order, whitespace, and unknown fields — critical for
prompt cache prefix matching on providers like Anthropic.

- routing_service: only re-serialize when routing_preferences
  were actually removed from the body
- stream_context: replace model name at byte level instead of
  full deserialization/re-serialization cycle
- Strip provider prefix from model name (e.g. 'custom-aws/claude-opus-4-6'
  -> 'claude-opus-4-6') before sending upstream

Signed-off-by: Troy Mitchell <i@troy-y.org>
2026-04-28 17:05:59 +08:00
..
.vscode use standard tracing and logging in brightstaff (#721) 2026-02-09 13:33:27 -08:00
brightstaff feat: preserve original JSON bytes for prompt cache compatibility 2026-04-28 17:05:59 +08:00
common retry: add retry orchestrator coordinating all components 2026-04-28 17:05:03 +08:00
hermesllm feat(providers): add Vercel AI Gateway and OpenRouter support (#902) 2026-04-23 15:54:39 -07:00
llm_gateway feat: preserve original JSON bytes for prompt cache compatibility 2026-04-28 17:05:59 +08:00
prompt_gateway Rename all arch references to plano (#745) 2026-02-13 15:16:56 -08:00
build.sh Use mcp tools for filter chain (#621) 2025-12-17 17:30:14 -08:00
Cargo.lock retry: update Cargo.lock for retry module dependencies 2026-04-28 17:05:03 +08:00
Cargo.toml use standard tracing and logging in brightstaff (#721) 2026-02-09 13:33:27 -08:00