We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ad2677 commit 9f42888Copy full SHA for 9f42888
website/docs/Getting-Started.mdx
@@ -45,7 +45,7 @@ pip install autogen-agentchat~=0.2
45
import os
46
from autogen import AssistantAgent, UserProxyAgent
47
48
-llm_config = {"model": "gpt-4", "api_key": os.environ["OPENAI_API_KEY"]}
+llm_config = { "config_list": [{ "model": "gpt-4", "api_key": os.environ.get("OPENAI_API_KEY") }] }
49
assistant = AssistantAgent("assistant", llm_config=llm_config)
50
user_proxy = UserProxyAgent("user_proxy", code_execution_config=False)
51
0 commit comments