-
Notifications
You must be signed in to change notification settings - Fork 128
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 support doesn't work as shown in docs #207
Comments
I changed the code as:
and the changed the lmm.py as the following:
Because earlier
Now this works fine for me, I tested it 10 times with different images and prompt. But is it really the correct way to solve this? |
Hey @lzytitan494 , thanks for bringing these issues up. On the first post, that is some old documentation I've forgotten to remove, your second post is how you should query the Ollama model. There's a bug in generate where I don't explicitly pass stream=False if it's not streaming. I'll have a PR up today that fixes this as well as adds better Ollama support for VisionAgent. |
This PR should fix the issue and also adds |
Yes, I have checked the updated |
Example in "docs/lmms.md" shows code as:
which shows the following error:
I'm using the 0.2.109 version.
The text was updated successfully, but these errors were encountered: