File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ agent = Agent(
91
91
We'll set up a simple voice pipeline, using [ ` SingleAgentVoiceWorkflow ` ] [ agents.voice.workflow.SingleAgentVoiceWorkflow ] as the workflow.
92
92
93
93
``` python
94
- from agents import SingleAgentVoiceWorkflow, VoicePipeline,
94
+ from agents.voice import SingleAgentVoiceWorkflow, VoicePipeline,
95
95
pipeline = VoicePipeline(workflow = SingleAgentVoiceWorkflow(agent))
96
96
```
97
97
@@ -128,11 +128,13 @@ import sounddevice as sd
128
128
129
129
from agents import (
130
130
Agent,
131
+ function_tool,
132
+ set_tracing_disabled,
133
+ )
134
+ from agents.voice import (
131
135
AudioInput,
132
136
SingleAgentVoiceWorkflow,
133
137
VoicePipeline,
134
- function_tool,
135
- set_tracing_disabled,
136
138
)
137
139
from agents.extensions.handoff_prompt import prompt_with_handoff_instructions
138
140
You can’t perform that action at this time.
0 commit comments