[Bug]: Error occurred while processing message: api_key is not present in llm_config or OPENAI_API_KEY env variable for agent ** primary_assistant**. Update your workflow to provide an api_key to use the LLM #2337
Labels
0.2
Issues which are related to the pre 0.4 codebase
needs-triage
proj-studio
Related to AutoGen Studio.
Describe the bug
After inserting my OPEN_AI API Key and successfully testing the connection from the Models page, I receive the following error when pressing one of the "Travel", "Sine Wave", etc buttons on the Playground page.
A dropdown opens up and delivers the following message: Error occurred while processing message: api_key is not present in llm_config or OPENAI_API_KEY env variable for agent ** primary_assistant**. Update your workflow to provide an api_key to use the LLM
Double-checked to ensure everything is pointing the the correct model.
New user here and I apologize in advance if I'm missing something obvious.
Steps to reproduce
Open VS Code and run 'autogensudtio ui' from venv in the terminal.
Step 1: Insert OPEN_Ai API Key on models page and test.
Step 2: Return to Playground and press the Travel button on the bottom of the screen.
Model Used
gpt-4-1106-preview
Expected Behavior
Should have gotten reply message?
Screenshots and logs
No response
Additional Information
Windows 10, Python 3.11
The text was updated successfully, but these errors were encountered: