Skip to content

Fix empty list in content on tool calls causing ollama parse error - #102

Merged
hangfei merged 1 commit into
google:mainfrom
selcukgun:fix-ollama-parse
Apr 13, 2025
Merged

hangfei merged 1 commit into
google:mainfrom
selcukgun:fix-ollama-parse

Conversation

@selcukgun

Copy link
Copy Markdown
Collaborator

This is related to #49

litellm.exceptions.APIConnectionError: litellm.APIConnectionError: Ollama_chatException - {"error":"json: cannot unmarshal array into Go struct field ChatRequest.messages.content of type string"}

@hangfei

hangfei commented Apr 13, 2025

Copy link
Copy Markdown
Collaborator

Thanks for the super quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants