-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functions calling corrupted inputs #837
Labels
bug
Something isn't working
Comments
This is a bug that Ollama does not always return a valid JSON string |
There is one solution for this case:
|
Thanks I will try.. also can we edit the agent default prompts to try fix the part where asked to use valid json? |
some issue for Chatgpt model |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an example very similar to the ones in repository that creates and agent that should reply using the provided functions.
The problem is that somehow very often the inputs passed to functions are wrong.
Result (see where parameters passed are undefined):
The text was updated successfully, but these errors were encountered: