Files
vscode/extensions
Logan Ramos b888c39bac Fix open router prompt caching with messages API (#312435)
* Fix open router prompt caching with messages API

* Send anthropic-beta headers for OpenRouter Messages API

Extract getAnthropicBetaHeader() on ChatEndpoint so subclasses that
override getExtraHeaders() (like OpenAIEndpoint) can opt in. Override
it on OpenRouterEndpoint so anthropic-beta (interleaved-thinking,
advanced-tool-use, context-management) is sent on the /messages path.

* Use TokenizerType.O200K instead of 'as any' in OpenRouter test

---------

Co-authored-by: bhavyaus <bhavyau@microsoft.com>
2026-05-03 11:04:27 -07:00
..
2026-04-23 19:38:15 -07:00
2026-04-23 19:38:15 -07:00
2026-04-16 22:03:37 -04:00
2026-04-16 22:03:37 -04:00