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

[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

Open
charlesbiggs07 opened this issue Apr 10, 2024 · 1 comment
Labels
0.2 Issues which are related to the pre 0.4 codebase needs-triage proj-studio Related to AutoGen Studio.

Comments

@charlesbiggs07
Copy link

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

@ekzhu ekzhu added the proj-studio Related to AutoGen Studio. label Apr 10, 2024
@ekzhu
Copy link
Collaborator

ekzhu commented Apr 10, 2024

This seems to be a known issue related to model update not being propagated to workflows, the new branch we are working on should address this. cc @victordibia

@rysweet rysweet added 0.2 Issues which are related to the pre 0.4 codebase needs-triage labels Oct 2, 2024
@fniedtner fniedtner removed the bug label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.2 Issues which are related to the pre 0.4 codebase needs-triage proj-studio Related to AutoGen Studio.
Projects
None yet
Development

No branches or pull requests

4 participants