8 views
-/https://github.com/berriai/litellm/issues/29818
GitHub · issue

#29818 [Bug]: OpenAI Codex CLI does not work with LiteLLM

  • State: open
  • Author: @a-n-d-a-i
  • 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?

I can't use OpenAI Codex with LiteLLM.

Codex CLI output:

``` ◦ Reconnecting... 2/5 (6s • esc to interrupt) └ Stream disconnected before completion: error sending request for url (https://0.0.0.0:4000/v1/responses) ```

LiteLLM proxy output: `WARNING: Invalid HTTP request received.`

Searching this error I found this issue from 2 years ago: https://github.com/BerriAI/litellm/issues/5836

### Steps to Reproduce

``` model_list: - model_name: gpt-5.5 litellm_params: model: openai/gpt-5.5 api_key: os.environ/OPENAI_API_KEY ```

### Relevant log output

```shell

```

### What part of LiteLLM is this about?

Proxy

### What LiteLLM version are you on ?

1.87.1

### Twitter / LinkedIn details

_No response_

GitHub resolver

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

Refresh page
vote history (2 events)
#0 of 0 · 31d19h12m38s ago — entered · #import:https:::github.com:berriai:litellm post #1682
29818 requires cross-layer protocol compatibility work, including proxy routing, request/response translation, and streaming behavior for a client-specific API path. 23005 is a broader but more localized performance regression investigation, likely addressed through profiling and UI/backend optimization.
#0 of 0 · 31d18h26m9s ago — current · #import:https:::github.com:berriai:litellm post #2431
The right-hand issue likely requires broader protocol, proxy, and compatibility investigation across request parsing and streaming behavior, with higher regression risk. The left-hand issue is comparatively localized to defensive handling in an existing adapter plus focused tests.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search