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

Optional and adjustable API token #2

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

philippzagar
Copy link
Collaborator

Optional and adjustable API token

♻️ Current situation & Problem

As of now, the API token is required and fixed after the initial initialization of the OpenAI struct. This leads to challenges, especially with OpenAI API implementations (such as Ollama) that don't require an API token or need to refresh API tokens from time to time.

⚙️ Release Notes

  • Optional and adjustable API token in the init of OpenAI.

📚 Documentation

--

✅ Testing

Manually tested.

Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

@philippzagar philippzagar added the enhancement New feature or request label Mar 27, 2024
@philippzagar philippzagar self-assigned this Mar 27, 2024
@philippzagar philippzagar merged commit 29316ba into main Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant