Skip to content
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

Better error messages for mismatch on API versions #2107

Open
1 task done
tyler-suard-parker opened this issue Feb 10, 2025 · 1 comment
Open
1 task done

Better error messages for mismatch on API versions #2107

tyler-suard-parker opened this issue Feb 10, 2025 · 1 comment

Comments

@tyler-suard-parker
Copy link

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

Whenever I try to use an Azure OpenAI endpoint, if I get the API version wrong, it will tell me that the endpoint is not available or that I don't have access. It would be nice if instead it said "You are using the wrong API version".

Additional context

No response

@kristapratico
Copy link
Contributor

Thanks for the feedback @tyler-suard-parker. I do think we could improve the error message, but I'd probably favor doing such validation on the service side rather than in the client library. Let me follow-up with the team to see if we can improve the experience here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants