You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(provider): derive extended chunkTimeout from model.reasoning, not provider ID
Previously a hardcoded Set of provider IDs (anthropic,
google-vertex-anthropic, amazon-bedrock) received the 600s chunk
timeout. This missed openrouter routing to anthropic/* models and any
future reasoning-capable provider not yet in the Set. Replaces the Set
with a per-model check against model.capabilities.reasoning, which
models.dev already tracks.
Signature of resolveChunkTimeout changed from (providerID, value) to
({providerID, reasoning}, value). The sole runtime call site in
provider.ts passes model.capabilities.reasoning ?? false.
Addresses audit finding F6 (Opus diamond review, 2026-04-22) and
Phase A followup #1.
0 commit comments