Ayrton
|
44ef6d7fc7
|
feat: enhance token usage resolution for OpenAI and Anthropic compati… (#223)
* feat: enhance token usage resolution for OpenAI and Anthropic compatibility
Recognize OpenAI cached_tokens and wrapped proxy response paths, add tests
for path priority and provider-specific total token fallback semantics.
Co-authored-by: Cursor <cursoragent@cursor.com>
* style: format
* chore: Add tests and improve comments
* fix: Remove provider specific protocol
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-09 14:35:47 +08:00 |
|