14 views
-/https://github.com/berriai/litellm/issues/27759
GitHub · issue

#27759 [Bug]: Issue using litellm with pi.dev

  • State: open
  • Author: @ACodingfreak
  • Labels: bug, proxy, llm translation

### 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 …

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d19h4m6s ago — entered · #import:https:::github.com:berriai:litellm post #2006
The right issue is harder because it crosses configuration bootstrapping, persistence, database precedence, and policy/attachment initialization, requiring careful lifecycle fixes and regression coverage. The left issue is narrower provider-specific request/response translation debugging with more contained compatibility changes.
#0 of 0 · 31d18h42m31s ago — current · #import:https:::github.com:berriai:litellm post #2367
34031 requires coordinated changes across multiple transport and error-handling paths, careful memory and streaming semantics, compatibility validation, and regression/load testing; 27759 is comparatively narrower protocol-format diagnosis and adaptation.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search