victordibia / autogen-ui

Web UI for AutoGen (A Framework Multi-Agent LLM Applications)
MIT License
719 stars 109 forks source link

Can't Load API Key #17

Open BenFWill opened 9 months ago

BenFWill commented 9 months ago

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

ArcTens commented 9 months ago

Set-Variable -Name OPENAI_API_KEY -Value

or

export OPENAI_API_KEY=

ArcTens commented 9 months ago

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