-
-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Description
When I use deepseek api as normal it works but if I added only one function then a exception appears
Called tool call call_00_xsLseh8C4YMoBWXUuvqbhNvU with function readCurrentFields and and response {name: Laptop, price: 1.55}
Unhandled exception:
RequestFailedException(message: Failed to deserialize the JSON body into the target type: messages[3]: invalid type: sequence, expected a string at line 1 column 824, statusCode: 400)
And with LM Studio it works normally but for some reason request args are always empty.
Like it calls the tool and when I see argument from toolCall it's just empty I tried both the LM Studio and deepseek api with the same creds in python openai and both worked LM Studio and deepseek and this library as a OpenAI Compatable should be supported by any other api
I think the problem could be just in the code you didn't take most of the api specs from the openai.json and some just hardcoded.
Metadata
Metadata
Assignees
Labels
No labels