#27759 [Bug]: Issue using litellm with pi.dev
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
### What happened?
When I use pi.dev with models in ollama it works as expected. But when i bring in litellm to talk with ollama I see weird tool call output from same ollama model.
On using ollama models directly as shown below I am seeing right output from respective models.
``` cat models.json { "providers": { "ollama": { "baseUrl": "http://10.30.0.103:11434/v1", "api": "openai-completions", "apiKey": "ollama", "models": [ { "id": "gemma4:e4b" }, { "id": "qwen3.5:9b" } ] } } }
pi v0.74.0 escape interrupt · ctrl+c/ctrl+d clear/exit · / commands · ! bash · ctrl+o more Press ctrl+o to show full startup help and loaded resources.
Pi can explain its own features and look up its docs. Ask it how to use or extend Pi.
say hello
The user requested a simple greeting: "say hello". I should respond with a friendly, textual greeting.
Hello! How can I help you today?
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Only showing …