-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
bugSomething isn't workingSomething isn't workingfeature:realtimequestionQuestion about using the SDKQuestion about using the SDK
Description
Describe the bug
When connecting voice with the below code, I can see the tool being called, but the agent never responds with its text. It says, "One moment while I look that up" and then nothing happens.
It also outputs a lot of unnecessary logging and some exceptions that seem unrelated.
Furthermore, the tracing does not show that a tool was called or tool output which to me shows the tool was not fed into the AI.
@function_tool
def get_password() -> str:
"""
Get the password for the user.
"""
return "Your Password is Not Set"
AUDIO_AGENT = RealtimeAgent(
name="ODAI-Voice",
instructions='You are a helpful assistant. You are able to answer questions and help with tasks.',
tools=[get_password]
)
Debug information
- Agents SDK version: v0.2
- Python version: 3.13
Repro steps
Set up a runner with the following agent. The password is never said by the agent when you ask for it even though you can see the tool being called.
@function_tool
def get_password() -> str:
"""
Get the password for the user.
"""
return "Your Password is Not Set"
AUDIO_AGENT = RealtimeAgent(
name="ODAI-Voice",
instructions='You are a helpful assistant. You are able to answer questions and help with tasks.',
tools=[get_password]
)
Expected behavior
The tool's answer should be given back to the user, the tool call and results should be visible in tracing.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfeature:realtimequestionQuestion about using the SDKQuestion about using the SDK