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
main
170451d4 feat(ai-openrouter): forward system-prompt cache_control breakpoints (#777) * feat(ai-openrouter): forward system-prompt cache_control breakpoints The text adapter collapsed `systemPrompts` to a plain joined string and dropped the object-form `metadata`, so Anthropic-family prompt caching over OpenRouter was unreachable — `cache_control` never reached the wire. Declare `OpenRouterSystemPromptMetadata` (threaded through `BaseTextAdapter`'s `TSystemPromptMetadata`, so `cache_control` is typed/autocompleted at the `chat()` call site) and, when any system prompt carries `cache_control`, emit the system message as a content-array part carrying the directive — mirroring `@tanstack/ai-anthropic`. Without `cache_control` the system message is still the same joined string, so existing callers are unaffected. * Merge branch 'main' into fix/openrouter-system-prompt-cache-control * ci: apply automated fixes
by Jason Galea
J
Succeeded
main
170451d4 feat(ai-openrouter): forward system-prompt cache_control breakpoints (#777) * feat(ai-openrouter): forward system-prompt cache_control breakpoints The text adapter collapsed `systemPrompts` to a plain joined string and dropped the object-form `metadata`, so Anthropic-family prompt caching over OpenRouter was unreachable — `cache_control` never reached the wire. Declare `OpenRouterSystemPromptMetadata` (threaded through `BaseTextAdapter`'s `TSystemPromptMetadata`, so `cache_control` is typed/autocompleted at the `chat()` call site) and, when any system prompt carries `cache_control`, emit the system message as a content-array part carrying the directive — mirroring `@tanstack/ai-anthropic`. Without `cache_control` the system message is still the same joined string, so existing callers are unaffected. * Merge branch 'main' into fix/openrouter-system-prompt-cache-control * ci: apply automated fixes
by Jason Galea
J
Succeeded
fix/openrouter-system-prompt-cache-control
8c65dade Merge 0b7f36a386fa127454c8ec2e7c7d6c0c78da9896 into df40512bda853f714b2913bee630ec599e664207
by Jason Galea
J
Previous page
Previous
Next
Next page