Exception has occurred: ValidationError
1 validation error for ChatCompletions
choices.0.message.tool_calls.1
Input should be a valid dictionary or instance of ChatCompletionMessageToolCall [type=model_type, input_value=None, input_type=NoneType]
For further information visit
https://errors.pydantic.dev/2.10/v/model_type File "C:\Users\shreyas\Music\Cenzex\CityInsider\proto_agent_portkey.py", line 301, in trigger
response: ChatCompletion = await self.async_client.chat.completions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\shreyas\Music\Cenzex\CityInsider\proto_agent_portkey.py", line 420, in ask_question
return await self.trigger()
File "C:\Users\shreyas\Music\Cenzex\CityInsider\interface.py", line 80, in websocket_endpoint
response = await instance.ask_question(message["data"])
File "C:\Users\shreyas\Music\Cenzex\CityInsider\main.py", line 8, in <module>
uvicorn.run(app, port=7005, factory=False)
pydantic_core._pydantic_core.ValidationError: 1 validation error for ChatCompletions
choices.0.message.tool_calls.1
Input should be a valid dictionary or instance of ChatCompletionMessageToolCall [type=model_type, input_value=None, input_type=NoneType]
For further information visit
https://errors.pydantic.dev/2.10/v/model_type ...