Description
I'm trying to run this example: https://github.com/GenseeAI/cognify/blob/main/examples/HotPotQA/ref.ipynb
with ollama_chat/llama3.1,
but getting into this issue below when running cognify optimize workflow.py
. Any idea how to fix it? Thanks
Process Process-4:
Traceback (most recent call last):
File ".../python3.12/site-packages/litellm/main.py", line 2748, in completion
generator = ollama_chat.get_ollama_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../python3.12/site-packages/litellm/llms/ollama_chat.py", line 324, in get_ollama_response
raise OllamaError(status_code=response.status_code, message=response.text)
litellm.llms.ollama_chat.OllamaError: {"error":"json: cannot unmarshal array into Go struct field ChatRequest.messages of type string"}