fix: ensure azure has store = true by default (#22764)

This commit is contained in:
Aiden Cline
2026-04-16 12:19:01 -05:00
committed by GitHub
parent 8b1f0e2d90
commit c5deeee8c7
2 changed files with 22 additions and 0 deletions

View File

@@ -793,6 +793,10 @@ export function options(input: {
result["store"] = false
}
if (input.model.api.npm === "@ai-sdk/azure") {
result["store"] = true
}
if (input.model.api.npm === "@openrouter/ai-sdk-provider") {
result["usage"] = {
include: true,