taketwo / llm-ollama

LLM plugin providing access to local Ollama models using HTTP API
Apache License 2.0
160 stars 10 forks source link

Error when running ollama 3.2 #17

Closed kesitrifork closed 1 month ago

kesitrifork commented 1 month ago

I get this error

$ llm -m llama3.2:latest "How much is 2+2?"
Error: 'Prompt' object has no attribute 'attachments'

Ollama serve shows this:

[GIN] 2024/11/04 - 14:01:01 | 200 |     329.792µs |       127.0.0.1 | GET      "/api/tags"
kesitrifork commented 1 month ago

I also get it with example

$ ollama run llama2
pulling manifest
pulling 8934d96d3f08... 100% ▕█████████████████████████████████████████████████████████ ▏ 3.8 GB/3.8 GB   11 MB/s      0s
pulling 8c17c2ebb0ea... 100% ▕██████████████████████████████████████████████████████████▏ 7.0 KB
pulling 7c23fb36d801... 100% ▕██████████████████████████████████████████████████████████▏ 4.8 KB
pulling 2e0493f67d0c... 100% ▕██████████████████████████████████████████████████████████▏   59 B
pulling fa304d675061... 100% ▕██████████████████████████████████████████████████████████▏   91 B
pulling 42ba7f8a01dd... 100% ▕██████████████████████████████████████████████████████████▏  557 B
verifying sha256 digest
writing manifest
success
>>> hi
Hi there! It's nice to meet you. Is there something I can help you with or would you like to chat?

>>> /bye
(llmtool) 🧑‍🎨🌼 14:08:28:~
$ llm -m llama2:latest 'How much is 2+2?'
Error: 'Prompt' object has no attribute 'attachments'
$ ollama -v
ollama version is 0.3.14
taketwo commented 1 month ago

Please update your LLM to the latest version.

kesitrifork commented 1 month ago

@taketwo Thank you, you are right! Weird that I did not check that! Thank you!