Skip to content

Commit

Permalink
Merge branch '0.2' into optional-rate-limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
kampernet authored Nov 5, 2024
2 parents d43b271 + 9f42888 commit 3bd3c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/Getting-Started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pip install autogen-agentchat~=0.2
import os
from autogen import AssistantAgent, UserProxyAgent

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") }] }
assistant = AssistantAgent("assistant", llm_config=llm_config)
user_proxy = UserProxyAgent("user_proxy", code_execution_config=False)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"It functions similarly to the `DockerCommandLineCodeExecutor`, but specifically creates container within Kubernetes environments.\n",
"\n",
"There are two condition to use PodCommandLineCodeExecutor.\n",
"\n",
"- Access to a Kubernetes cluster\n",
"- installation `autogen` with the extra requirements `'pyautogen[kubernetes]'`\n",
"\n",
Expand All @@ -38,6 +39,7 @@
"metadata": {},
"source": [
"There are four options PodCommandLineCodeExecutor to access kubernetes API server.\n",
"\n",
"- default kubeconfig file path: `~/.kube/config`\n",
"- Provide a custom kubeconfig file path using the `kube_config_file` argument of `PodCommandLineCodeExecutor`.\n",
"- Set the kubeconfig file path using the `KUBECONFIG` environment variable.\n",
Expand Down

0 comments on commit 3bd3c23

Please sign in to comment.