TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
822-ai-openrouter-function-tool-converter-strips-cachecontrol-so-tool-definition-prompt-caching-never-reaches-the-wire
a1f0eb75 Merge 2bd3a25f3e4ba1501c65c7586068076967451334 into 33acdd4df4aef13d594700d9b52087252091bd40
by Tom Beckenham
T
Succeeded
822-ai-openrouter-function-tool-converter-strips-cachecontrol-so-tool-definition-prompt-caching-never-reaches-the-wire
a1f0eb75 ci: apply automated fixes
by autofix-ci...
a
Succeeded
822-ai-openrouter-function-tool-converter-strips-cachecontrol-so-tool-definition-prompt-caching-never-reaches-the-wire
b1a01ebb fix(openrouter): forward tool metadata.cacheControl so tool-definition caching reaches the wire The function-tool converter dropped a tool's `metadata.cacheControl`, making Anthropic prompt caching of tool definitions impossible over OpenRouter and inconsistent with `@tanstack/ai-anthropic`. Forward it as the SDK's camelCase `cacheControl` field (which serializes to `cache_control`; a snake_case `cache_control` is stripped by the SDK's outbound schema). Additive and non-breaking — only present when supplied. Adds a wire-format test that replays the request through `ChatRequest$outboundSchema`, plus a changeset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
822-ai-openrouter-function-tool-converter-strips-cachecontrol-so-tool-definition-prompt-caching-never-reaches-the-wire
b1a01ebb Merge 20ed8699b56af81bbef2f6c8e35757829e127768 into 33acdd4df4aef13d594700d9b52087252091bd40
by Tom Beckenham
T
Previous page
Previous
Next
Next page