openai icon indicating copy to clipboard operation
openai copied to clipboard

multiple API keys

Open lukepighetti opened this issue 1 year ago • 2 comments
trafficstars

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?

lukepighetti avatar Jun 18 '24 17:06 lukepighetti