autogen-ui icon indicating copy to clipboard operation
autogen-ui copied to clipboard

Can't Load API Key

Open BenFWill opened this issue 1 year ago • 2 comments

Even after creating a .env file with my API key, it is not recognized. Is there a way to hard code the API key into the script? Screenshot 2023-12-11 090445

BenFWill avatar Dec 11 '23 16:12 BenFWill

Set-Variable -Name OPENAI_API_KEY -Value

or

export OPENAI_API_KEY=

ArcTens avatar Dec 18 '23 05:12 ArcTens

oh yea then you have to set the api in agent settings for the LLM you are using

ArcTens avatar Dec 18 '23 05:12 ArcTens