diff --git a/website/docs/Getting-Started.mdx b/website/docs/Getting-Started.mdx index 761ed6f3d34d..291345c6f03d 100644 --- a/website/docs/Getting-Started.mdx +++ b/website/docs/Getting-Started.mdx @@ -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) diff --git a/website/docs/topics/code-execution/kubernetes-pod-commandline-code-executor.ipynb b/website/docs/topics/code-execution/kubernetes-pod-commandline-code-executor.ipynb index 2cad17e0deb5..496003c1c8ee 100644 --- a/website/docs/topics/code-execution/kubernetes-pod-commandline-code-executor.ipynb +++ b/website/docs/topics/code-execution/kubernetes-pod-commandline-code-executor.ipynb @@ -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", @@ -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",