Skip to content

Commit ea63a99

Browse files
authored
[doc] fix invalid imports (openai#273)
2 parents 1e8930d + 0dd5b37 commit ea63a99

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/voice/quickstart.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ agent = Agent(
9191
We'll set up a simple voice pipeline, using [`SingleAgentVoiceWorkflow`][agents.voice.workflow.SingleAgentVoiceWorkflow] as the workflow.
9292

9393
```python
94-
from agents import SingleAgentVoiceWorkflow, VoicePipeline,
94+
from agents.voice import SingleAgentVoiceWorkflow, VoicePipeline,
9595
pipeline = VoicePipeline(workflow=SingleAgentVoiceWorkflow(agent))
9696
```
9797

@@ -128,11 +128,13 @@ import sounddevice as sd
128128

129129
from agents import (
130130
Agent,
131+
function_tool,
132+
set_tracing_disabled,
133+
)
134+
from agents.voice import (
131135
AudioInput,
132136
SingleAgentVoiceWorkflow,
133137
VoicePipeline,
134-
function_tool,
135-
set_tracing_disabled,
136138
)
137139
from agents.extensions.handoff_prompt import prompt_with_handoff_instructions
138140

0 commit comments

Comments
 (0)