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

multiple API keys #183

Open
lukepighetti opened this issue Jun 18, 2024 · 1 comment
Open

multiple API keys #183

lukepighetti opened this issue Jun 18, 2024 · 1 comment

Comments

@lukepighetti
Copy link

It looks like the key is a global setting via a static class setter OpenAI.apiKey = 'foo'

Is there any way to create multiple OpenAI clients using different API keys?

@franboladoruiz
Copy link

This other client supports your use case:

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