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

[Issue]: is_valid_api_key needs enhancement #26

Closed
qingyun-wu opened this issue Sep 4, 2024 · 2 comments · Fixed by #44
Closed

[Issue]: is_valid_api_key needs enhancement #26

qingyun-wu opened this issue Sep 4, 2024 · 2 comments · Fixed by #44
Labels
good first issue Good for newcomers

Comments

@qingyun-wu
Copy link

Describe the issue

The current is_valid_api_key function is dated wrt the latest OpenAI API format.

It gives the following false alarm:

WARNING - The API key specified is not a valid OpenAI format; it won't work with the OpenAI-hosted model.
WARNING:autogen.oai.client:The API key specified is not a valid OpenAI format; it won't work with the OpenAI-hosted model

Steps to reproduce

No response

Screenshots and logs

No response

Additional Information

No response

@qingyun-wu qingyun-wu added the good first issue Good for newcomers label Sep 4, 2024
@marklysze
Copy link
Collaborator

Supporting forum note on project key lengths changing.

@marklysze
Copy link
Collaborator

Please see PR to expand API key format validation, #44

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

Successfully merging a pull request may close this issue.

2 participants