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

[GPT] fix no key config #1418

Merged
merged 1 commit into from
Jan 13, 2025
Merged

[GPT] fix no key config #1418

merged 1 commit into from
Jan 13, 2025

Conversation

GuillaumeDSM
Copy link
Member

No description provided.

@GuillaumeDSM GuillaumeDSM requested a review from Herklos January 13, 2025 13:30
@GuillaumeDSM GuillaumeDSM self-assigned this Jan 13, 2025
return key
if self._get_base_url():
# no key and custom base url: use random key
return uuid.uuid4().hex
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a key is required by the openai lib

@GuillaumeDSM GuillaumeDSM enabled auto-merge (rebase) January 13, 2025 13:30
@GuillaumeDSM GuillaumeDSM merged commit b28b0fc into dev Jan 13, 2025
5 checks passed
@GuillaumeDSM GuillaumeDSM deleted the gpt_no_k branch January 13, 2025 13:39
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

Successfully merging this pull request may close these issues.

2 participants