Tom Aylott

Results 75 comments of Tom Aylott

Closing as resolved in v1.4.0 **Working example:** https://github.com/OpenRouterTeam/openrouter-examples/tree/main/typescript/ai-sdk-v5/src/plugin-file-parser

also, we're working on https://github.com/OpenRouterTeam/ai-sdk-provider/tree/next which should be available on the alpha channel soon. we'll have to bring embeddings in there too

we've decided to keep all our examples in a separate dedicated repo: https://github.com/OpenRouterTeam/openrouter-examples but this is sufficiently big that it might should have its own dedicated repo instead

Closing as resolved. Prompt caching is now working correctly with `providerOptions.openrouter.cacheControl`. **Working example:** https://github.com/OpenRouterTeam/openrouter-examples/tree/main/typescript/ai-sdk-v5/src/prompt-caching **Key configuration:** - Use `providerOptions.openrouter.cacheControl: { type: 'ephemeral' }` on content blocks - Include `extraBody: {...