-
Notifications
You must be signed in to change notification settings - Fork 192
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
ollama._types.ResponseError: Unsupported type: 'bool' #157
Comments
I had the same issue. The problem is that your keep_alive parameter is failing. I didn't dig into why it worked before, but if you look at the chat function definition, the types supported are not Boolean. keep_alive is used to configure the duration and behaviour, it isn't a flag (anymore?). For valid options (seems like float and str for now), see the faq.md here https://github.com/ollama/ollama/blob/d4a86102fd5f84cca50757af00296606ac191890/docs/faq.md?plain=1#L237 I updated mine and works just fine now. |
@ruaanviljoen ahh I see. So it's like a configuration instead of a flag now. Thanks a bunch. |
I have this code for generating a SQL query based on my SQL database:
However I am encountering this error:
Previously there was no such error before updating ollama. I'm not sure what is the problem.
Thanks.
The text was updated successfully, but these errors were encountered: