fabro/lib
Scott Werner e2d1d7203c feat(llm): parse cached-token fields in openai-compatible usage
Extend the OpenAI-compatible adapter's ApiUsage parsing to read
prompt_tokens_details.cached_tokens and cache_write_tokens from
response and streaming chunk payloads. Both fields are optional, so
this is fully backwards-compatible with providers that don't emit
them. Cached and freshly-read tokens are priced differently, so
surfacing both keeps catalog cost math accurate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 16:53:34 -04:00
..
crates feat(llm): parse cached-token fields in openai-compatible usage 2026-05-28 16:53:34 -04:00
packages/fabro-api-client refactor: Remove inbound IP allowlisting (#443) 2026-05-27 22:29:08 -04:00