diff --git a/README.md b/README.md index 0eb3a06a5b12..0e6702f2a3dd 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ We look forward to your contributions! First install the packages: ```bash -pip install 'autogen-agentchat==0.4.0.dev11' 'autogen-ext[openai]==0.4.0.dev11' +pip install "autogen-agentchat==0.4.0.dev11" "autogen-ext[openai]==0.4.0.dev11" ``` The following code uses OpenAI's GPT-4o model and you need to provide your diff --git a/python/packages/autogen-core/docs/src/index.md b/python/packages/autogen-core/docs/src/index.md index cc10e405693b..0d927f222f8c 100644 --- a/python/packages/autogen-core/docs/src/index.md +++ b/python/packages/autogen-core/docs/src/index.md @@ -58,7 +58,7 @@ AgentChat High-level API that includes preset agents and teams for building multi-agent systems. ```sh -pip install 'autogen-agentchat==0.4.0.dev11' +pip install "autogen-agentchat==0.4.0.dev11" ``` 💡 *Start here if you are looking for an API similar to AutoGen 0.2.* @@ -99,7 +99,7 @@ Get Started Provides building blocks for creating asynchronous, event driven multi-agent systems. ```sh -pip install 'autogen-core==0.4.0.dev11' +pip install "autogen-core==0.4.0.dev11" ``` +++ @@ -121,7 +121,7 @@ Get Started Implementations of core components that interface with external services, or use extra dependencies. For example, Docker based code execution. ```sh -pip install 'autogen-ext==0.4.0.dev11' +pip install "autogen-ext==0.4.0.dev11" ``` +++ diff --git a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/installation.md b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/installation.md index d5c36eb94ed9..0a40370e87ce 100644 --- a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/installation.md +++ b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/installation.md @@ -61,7 +61,7 @@ Install the `autogen-agentchat` package using pip: ```bash -pip install 'autogen-agentchat==0.4.0.dev11' +pip install "autogen-agentchat==0.4.0.dev11" ``` ```{note} @@ -74,7 +74,7 @@ To use the OpenAI and Azure OpenAI models, you need to install the following extensions: ```bash -pip install 'autogen-ext[openai]==0.4.0.dev11' +pip install "autogen-ext[openai]==0.4.0.dev11" ``` ## Install Docker for Code Execution diff --git a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/quickstart.ipynb b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/quickstart.ipynb index c02561d3e332..cb266816218b 100644 --- a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/quickstart.ipynb +++ b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/quickstart.ipynb @@ -29,7 +29,7 @@ }, "outputs": [], "source": [ - "pip install 'autogen-agentchat==0.4.0.dev11' 'autogen-ext[openai]==0.4.0.dev11'" + "pip install \"autogen-agentchat==0.4.0.dev11\" \"autogen-ext[openai]==0.4.0.dev11\"" ] }, { diff --git a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/models.ipynb b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/models.ipynb index 3020cbe9f836..40897cc8c17c 100644 --- a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/models.ipynb +++ b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/models.ipynb @@ -28,7 +28,7 @@ }, "outputs": [], "source": [ - "pip install 'autogen-ext[openai]==0.4.0.dev11'" + "pip install \"autogen-ext[openai]==0.4.0.dev11\"" ] }, { @@ -108,7 +108,7 @@ }, "outputs": [], "source": [ - "pip install 'autogen-ext[openai,azure]==0.4.0.dev11'" + "pip install \"autogen-ext[openai,azure]==0.4.0.dev11\"" ] }, { diff --git a/python/packages/autogen-core/docs/src/user-guide/core-user-guide/installation.md b/python/packages/autogen-core/docs/src/user-guide/core-user-guide/installation.md index ba39aa481da5..70c45db6441d 100644 --- a/python/packages/autogen-core/docs/src/user-guide/core-user-guide/installation.md +++ b/python/packages/autogen-core/docs/src/user-guide/core-user-guide/installation.md @@ -6,7 +6,7 @@ Install the `autogen-core` package using pip: ```bash -pip install 'autogen-core==0.4.0.dev11' +pip install "autogen-core==0.4.0.dev11" ``` ```{note} diff --git a/python/packages/autogen-core/docs/src/user-guide/extensions-user-guide/installation.md b/python/packages/autogen-core/docs/src/user-guide/extensions-user-guide/installation.md index f98d4361d918..9b4af4399149 100644 --- a/python/packages/autogen-core/docs/src/user-guide/extensions-user-guide/installation.md +++ b/python/packages/autogen-core/docs/src/user-guide/extensions-user-guide/installation.md @@ -11,7 +11,7 @@ First-part maintained extensions are available in the `autogen-ext` package. ```sh -pip install 'autogen-ext==0.4.0.dev11' +pip install "autogen-ext==0.4.0.dev11" ``` Extras: diff --git a/python/packages/autogen-ext/src/autogen_ext/agents/magentic_one/__init__.py b/python/packages/autogen-ext/src/autogen_ext/agents/magentic_one/__init__.py index b0db0bba7c06..3ec42d4fa5ae 100644 --- a/python/packages/autogen-ext/src/autogen_ext/agents/magentic_one/__init__.py +++ b/python/packages/autogen-ext/src/autogen_ext/agents/magentic_one/__init__.py @@ -3,8 +3,8 @@ except ImportError as e: raise ImportError( "Dependencies for MagenticOneCoderAgent not found. " - "Please install autogen-ext with the 'magentic-one' extra: " - "pip install 'autogen-ext[magentic-one]'" + 'Please install autogen-ext with the "magentic-one" extra: ' + 'pip install "autogen-ext[magentic-one]"' ) from e __all__ = ["MagenticOneCoderAgent"] diff --git a/python/packages/autogen-ext/src/autogen_ext/agents/openai/__init__.py b/python/packages/autogen-ext/src/autogen_ext/agents/openai/__init__.py index a9bab3077c67..c5460d5b443f 100644 --- a/python/packages/autogen-ext/src/autogen_ext/agents/openai/__init__.py +++ b/python/packages/autogen-ext/src/autogen_ext/agents/openai/__init__.py @@ -3,8 +3,8 @@ except ImportError as e: raise ImportError( "Dependencies for OpenAIAssistantAgent not found. " - "Please install autogen-ext with the 'openai' extra: " - "pip install 'autogen-ext[openai]'" + 'Please install autogen-ext with the "openai" extra: ' + 'pip install "autogen-ext[openai]"' ) from e __all__ = ["OpenAIAssistantAgent"] diff --git a/python/packages/autogen-ext/src/autogen_ext/code_executors/azure/_azure_container_code_executor.py b/python/packages/autogen-ext/src/autogen_ext/code_executors/azure/_azure_container_code_executor.py index 59fe9f7cccff..c302dbbef88d 100644 --- a/python/packages/autogen-ext/src/autogen_ext/code_executors/azure/_azure_container_code_executor.py +++ b/python/packages/autogen-ext/src/autogen_ext/code_executors/azure/_azure_container_code_executor.py @@ -51,7 +51,7 @@ class ACADynamicSessionsCodeExecutor(CodeExecutor): .. code-block:: bash - pip install 'autogen-ext[azure]==0.4.0.dev11' + pip install "autogen-ext[azure]==0.4.0.dev11" .. caution:: diff --git a/python/packages/autogen-ext/src/autogen_ext/code_executors/docker/_docker_code_executor.py b/python/packages/autogen-ext/src/autogen_ext/code_executors/docker/_docker_code_executor.py index 567a486a9a67..3cad06cd37d9 100644 --- a/python/packages/autogen-ext/src/autogen_ext/code_executors/docker/_docker_code_executor.py +++ b/python/packages/autogen-ext/src/autogen_ext/code_executors/docker/_docker_code_executor.py @@ -59,7 +59,7 @@ class DockerCommandLineCodeExecutor(CodeExecutor): .. code-block:: bash - pip install 'autogen-ext[docker]==0.4.0.dev11' + pip install "autogen-ext[docker]==0.4.0.dev11" The executor first saves each code block in a file in the working diff --git a/python/packages/autogen-ext/src/autogen_ext/models/openai/_openai_client.py b/python/packages/autogen-ext/src/autogen_ext/models/openai/_openai_client.py index b7276888411f..baf57628db9f 100644 --- a/python/packages/autogen-ext/src/autogen_ext/models/openai/_openai_client.py +++ b/python/packages/autogen-ext/src/autogen_ext/models/openai/_openai_client.py @@ -909,7 +909,7 @@ class OpenAIChatCompletionClient(BaseOpenAIChatCompletionClient): .. code-block:: bash - pip install 'autogen-ext[openai]==0.4.0.dev8' + pip install "autogen-ext[openai]==0.4.0.dev11" The following code snippet shows how to use the client with an OpenAI model: @@ -989,7 +989,7 @@ class AzureOpenAIChatCompletionClient(BaseOpenAIChatCompletionClient): .. code-block:: bash - pip install 'autogen-ext[openai,azure]==0.4.0.dev8' + pip install "autogen-ext[openai,azure]==0.4.0.dev11" To use the client, you need to provide your deployment id, Azure Cognitive Services endpoint, api version, and model capabilities.