-
Notifications
You must be signed in to change notification settings - Fork 6.9k
fix(app): support anthropic models on azure cognitive services #9000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
fix(app): support anthropic models on azure cognitive services #9000
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: Related PR:
The PR #8566 could be worth reviewing to ensure there's no overlap with your current fix. The other results returned were the current PR itself (#9000) or unrelated feature PRs. |
|
/review |
|
lgtm |
a6e242d to
d1f8fc0
Compare
|
are we good here? @rekram1-node |
|
I actually have a simpler solution if u wanna test it |
|
@uanandaraja try this? |
it says RESOURCE NOT FOUND, different env variable?
|
|
Hm may need a tweak but do you see what I'm trying to do? everything should live in that one module it shouldnt require edits outside of it |

When using Anthropic models (like claude-opus-4.5) via Azure Cognitive Services, the code was using
@ai-sdk/azureSDK which tries to callsdk.responses(modelID). But@ai-sdk/azuredoesn't support Anthropic models - Azure's Anthropic endpoint uses a different API structure that requires@ai-sdk/anthropic.