Open mbektimirov opened 1 month ago
This part is not supposed to be here also since the model I used was gpt-4.1, and I can also confirm no Google AI calls were made from my Activity page:
"provider_name": "Google"
Should be handled in #84
@mbektimirov can you check if you have a default model set in your settings: https://openrouter.ai/settings/preferences
@louisgv It's set to Auto Router
I believe there is still an issue with the error schema. Hopefully this PR makes sense: https://github.com/OpenRouterTeam/ai-sdk-provider/pull/108
The schema from https://github.com/OpenRouterTeam/ai-sdk-provider/blob/main/src/openrouter-error.ts#L9 defines error code as a string, while it could be a number also (suddenly?). Additional error is combined from
choices
being undefined for the response which is still strictly defined as always present.Just got this error for my file attachment, the model is
openai/gpt-4.1
: