This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit 325331d
committed
fix: upgrade @ai-sdk/azure to v3 and use deployment-based URLs
- Upgrade @ai-sdk/azure from ^2.0.6 to ^3.0.26
- v3 defaults provider(id) to Responses API (works for all models)
- v2 defaulted to Chat Completions, breaking codex models
- Add useDeploymentBasedUrls: true to createAzure()
- Produces /deployments/{id}/{path} URLs (universally compatible)
- Without it, SDK uses /v1/{path} which only works on AI Foundry resources1 parent c083c0f commit 325331d
3 files changed
Lines changed: 19 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
0 commit comments