You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the project, installed dependencies, filled out the env vars, started the relay server and the React frontend.
Everything seems to work fine until it tries to access one of the tools. If I say "What is the weather in Chicago?" (or any location) it will output the following in the logs:
{
"type": "error",
"event_id": "event_AQJyeAN9SM0lxdiYtgtXf",
"error": {
"type": "invalid_request_error",
"code": null,
"message": "Conversation already has an active response",
"param": null,
"event_id": null
}
}
And say something to the effect "I am having trouble accessing the weather information right now".
The strange thing is the conversation output window on the bottom actually displays a successful result from the weather API call as "function call output". Here is an example:
t
{"latitude":40.710335,"longitude":-73.99309,"generationtime_ms":0.02205371856689453,"utc_offset_seconds":0,"timezone":"GMT","timezone_abbreviation":"GMT","elevation":32,"current_units":{"time":"iso8601","interval":"seconds","temperature_2m":"°C","wind_speed_10m":"km/h"},"current":{"time":"2024-11-05T19:45","interval":900,"temperature_2m":19.9,"wind_speed_10m":19.9}}
So it's calling the function, getting the weather from the API, returning it, but somehow the voice agent does not recognize this.
Anyway this is running locally on Chrome (latest version) on a Windows 11 machine, but I think it's a problem with the code and not on my end.
If anyone else has encountered this or has a solution let me know please.
The text was updated successfully, but these errors were encountered:
I cloned the project, installed dependencies, filled out the env vars, started the relay server and the React frontend.
Everything seems to work fine until it tries to access one of the tools. If I say "What is the weather in Chicago?" (or any location) it will output the following in the logs:
And say something to the effect "I am having trouble accessing the weather information right now".
The strange thing is the conversation output window on the bottom actually displays a successful result from the weather API call as "function call output". Here is an example:
So it's calling the function, getting the weather from the API, returning it, but somehow the voice agent does not recognize this.
Anyway this is running locally on Chrome (latest version) on a Windows 11 machine, but I think it's a problem with the code and not on my end.
If anyone else has encountered this or has a solution let me know please.
The text was updated successfully, but these errors were encountered: