"tools": [{
"type": "function",
"messages": [
{
"type": "request-start",
"content": "Checking the weather forecast. Please wait..."
},
{
"type": "request-complete",
"content": "The weather in location is"
},
{
"type": "request-failed",
"content": "I couldn't get the weather information right now."
},
{
"type": "request-response-delayed",
"content": "It appears there is some delay in communication with the weather API.",
"timingMilliseconds": 2000
}
],
"function": {
"name": "get_weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
}
},
"description": "Retrieves the current weather for a specified location."
},
"async": False,
"server": {
"url": URL
}
}]
i have tested the url is working
logs from vapi dashboard:
[ERROR]
status-update Server URL Error: header name must be a non-empty string
[ERROR]
conversation-update Server URL Error: header name must be a non-empty string