mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Bug in tool_calls response parsing #119
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @evilsocket on GitHub (Jul 26, 2024).
This should be "arguments", not "args"
@zeelrupapara commented on GitHub (Jul 28, 2024):
I got it...
I also found here in the response: https://github.com/ollama/ollama/blob/main/docs/api.md#chat-request-with-tools
So in response, we got the arguments not args in json
@evilsocket commented on GitHub (Jul 28, 2024):
yep! simple fix that will actually enable function calling :D
@joshyan1 commented on GitHub (Jul 29, 2024):
Thanks for all the help. Closed by https://github.com/ollama/ollama-python/pull/236