[GH-ISSUE #6215] Ollama update (0.3.3) prevents running llama3.1:70b or llama3.1:8b with tools #65921

Closed
opened 2026-05-03 23:10:19 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @imsaumil on GitHub (Aug 7, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6215

What is the issue?

I had an old version of Ollama (do not remember the previous version) and had llama3.1:70b installed which was running fine. But I wanted to install llama3.1:8b and it did not let me pull without updating my Ollama. After the update with fresh pull of llama3.1:70b does not work as expected and gives following error. It does use @tool decorator with a single output function and ChatOllama API from langchain.

I tried downgrading the Ollama to a previous version to re-test but then it does not allow me to pull models without upgrading Ollama.

Error message:
image

OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.3.3

Originally created by @imsaumil on GitHub (Aug 7, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6215 ### What is the issue? I had an old version of Ollama (do not remember the previous version) and had llama3.1:70b installed which was running fine. But I wanted to install llama3.1:8b and it did not let me pull without updating my Ollama. After the update with fresh pull of llama3.1:70b does not work as expected and gives following error. It does use @tool decorator with a single output function and ChatOllama API from langchain. I tried downgrading the Ollama to a previous version to re-test but then it does not allow me to pull models without upgrading Ollama. Error message: <img width="1289" alt="image" src="https://github.com/user-attachments/assets/ccb9b9e6-1d7f-4288-a97c-5c9039ccfa13"> ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.3.3
GiteaMirror added the bug label 2026-05-03 23:10:19 -05:00
Author
Owner

@rick-github commented on GitHub (Aug 7, 2024):

https://github.com/langchain-ai/langchain/issues/20924

<!-- gh-comment-id:2273063298 --> @rick-github commented on GitHub (Aug 7, 2024): https://github.com/langchain-ai/langchain/issues/20924
Author
Owner

@dhiltgen commented on GitHub (Nov 6, 2024):

It looks like the defect was resolved in langchain. If you're still having problems with the latest versions of both Ollama and Langchain let us know.

<!-- gh-comment-id:2458488674 --> @dhiltgen commented on GitHub (Nov 6, 2024): It looks like the defect was resolved in langchain. If you're still having problems with the latest versions of both Ollama and Langchain let us know.
Author
Owner

@SIDDHARTH000001 commented on GitHub (Nov 11, 2024):

@dhiltgen Name: langgraph
Version: 0.2.45

Name: ollama
Version: 0.3.3

Name: langchain
Version: 0.3.7

Name: langchain-community
Version: 0.3.2

still facing ValueError: Received unsupported message type for Ollama.

<!-- gh-comment-id:2467447468 --> @SIDDHARTH000001 commented on GitHub (Nov 11, 2024): @dhiltgen Name: langgraph Version: 0.2.45 Name: ollama Version: 0.3.3 Name: langchain Version: 0.3.7 Name: langchain-community Version: 0.3.2 still facing ValueError: Received unsupported message type for Ollama.
Author
Owner

@nwheeler81 commented on GitHub (Feb 21, 2025):

@dhiltgen I'm facing the same issue ValueError: Received unsupported message type for Ollama with LangGraph and Ollama:
langchain-ollama 0.2.3
ollama 0.4.7
langchain 0.3.18
langchain-core 0.3.35
langchain-ollama 0.2.3
langgraph 0.2.72

<!-- gh-comment-id:2674900639 --> @nwheeler81 commented on GitHub (Feb 21, 2025): @dhiltgen I'm facing the same issue `ValueError: Received unsupported message type for Ollama` with LangGraph and Ollama: langchain-ollama 0.2.3 ollama 0.4.7 langchain 0.3.18 langchain-core 0.3.35 langchain-ollama 0.2.3 langgraph 0.2.72
Author
Owner

@dhiltgen commented on GitHub (Feb 22, 2025):

@nwheeler81 0.4.7 is a bit old (we're up to 0.5.11) - please make sure you upgrade to the latest versions and if you still see incompatibilities, please open a new issue.

<!-- gh-comment-id:2676323246 --> @dhiltgen commented on GitHub (Feb 22, 2025): @nwheeler81 0.4.7 is a bit old (we're up to 0.5.11) - please make sure you upgrade to the latest versions and if you still see incompatibilities, please open a new issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65921