Make the optional dependency installation compatible with zsh

This commit is contained in:
Kazuhiro Sera 2025-03-21 10:01:24 +09:00
parent 180a8ab043
commit 98c4b45b6a
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ source env/bin/activate
pip install openai-agents pip install openai-agents
``` ```
For voice support, install with the optional `voice` group: `pip install openai-agents[voice]`. For voice support, install with the optional `voice` group: `pip install 'openai-agents[voice]'`.
## Hello world example ## Hello world example

View file

@ -5,7 +5,7 @@
Make sure you've followed the base [quickstart instructions](../quickstart.md) for the Agents SDK, and set up a virtual environment. Then, install the optional voice dependencies from the SDK: Make sure you've followed the base [quickstart instructions](../quickstart.md) for the Agents SDK, and set up a virtual environment. Then, install the optional voice dependencies from the SDK:
```bash ```bash
pip install openai-agents[voice] pip install 'openai-agents[voice]'
``` ```
## Concepts ## Concepts

View file

@ -5,7 +5,7 @@ try:
except ImportError as _e: except ImportError as _e:
raise ImportError( raise ImportError(
"`numpy` + `websockets` are required to use voice. You can install them via the optional " "`numpy` + `websockets` are required to use voice. You can install them via the optional "
"dependency group: `pip install openai-agents[voice]`." "dependency group: `pip install 'openai-agents[voice]'`."
) from _e ) from _e
__all__ = ["np", "npt", "websockets"] __all__ = ["np", "npt", "websockets"]