mirror of
https://github.com/ollama/ollama
synced 2026-04-23 08:45:14 +00:00
The Codex runner was not setting OPENAI_BASE_URL or OPENAI_API_KEY, this prevents Codex from sending requests to api.openai.com instead of the local Ollama server. This mirrors the approach used by the Claude runner. Codex v0.98.0 sends zstd-compressed request bodies to the /v1/responses endpoint. Add decompression support in ResponsesMiddleware with an 8MB max decompressed size limit to prevent resource exhaustion. |
||
|---|---|---|
| .. | ||
| bench | ||
| config | ||
| runner | ||
| tui | ||
| background_unix.go | ||
| background_windows.go | ||
| cmd.go | ||
| cmd_test.go | ||
| editor_unix.go | ||
| editor_windows.go | ||
| interactive.go | ||
| interactive_test.go | ||
| start.go | ||
| start_darwin.go | ||
| start_default.go | ||
| start_windows.go | ||
| warn_thinking_test.go | ||