-
Notifications
You must be signed in to change notification settings - Fork 62
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
[BUG/ERROR] Can only concatenate str (not "dict") to str #246
Comments
Hi, I suspect this is a bug with LiteLLM (one of our dependencies) and how they implement Ollama support - maybe this bug? BerriAI/litellm#6958 Are you able to verify it doesn't happen with other models? |
Actually it happens with If I use
It's not finding the LLM even if it exists:
|
Just to update, this is not fixed in LiteLLM so it should be fixed in the next Holmes release after we updated LiteLLM. |
Hi,
I got an interesting bug/error (?) when I try to execute holmes ask command. I installed holmesgpt 0.7.2 via brew on my MacOS with Python version 3.9.6. The installation was successful, and I can execute the holmes version command.
I am using Ollama as the LLM backend (even if it may be buggy as your documentation says).
Everytime when I try to execute
holmes ask "Which pod is not running?" --model=ollama_chat/llama3.2:1b
then it runs into the following error:in completion:2804
in get_ollama_response:366
in token_counter:1638
Failed to execute script 'holmes' due to unhandled exception!
TypeError: can only concatenate str (not "dict") to str
During handling of the above exception, another exception occurred:
in ask:281
in prompt_call:80
in call:122
in completion:148
in wrapper:960
in wrapper:849
in completion:3065
...
Is it because I am using Ollama or the Python version? Have you already experienced this error?
Thanks in advance!
The text was updated successfully, but these errors were encountered: