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(
9191We'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,
9595pipeline = VoicePipeline(workflow = SingleAgentVoiceWorkflow(agent))
9696```
9797
@@ -128,11 +128,13 @@ import sounddevice as sd
128128
129129from 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)
137139from agents.extensions.handoff_prompt import prompt_with_handoff_instructions
138140
You can’t perform that action at this time.
0 commit comments