Skip to content

Make the optional dependency installation compatible with zsh #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ source env/bin/activate
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

Expand Down
2 changes: 1 addition & 1 deletion docs/voice/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```bash
pip install openai-agents[voice]
pip install 'openai-agents[voice]'
```

## Concepts
Expand Down
2 changes: 1 addition & 1 deletion src/agents/voice/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
except ImportError as _e:
raise ImportError(
"`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

__all__ = ["np", "npt", "websockets"]