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. |
||
|---|---|---|
| .. | ||
| anthropic.go | ||
| anthropic_test.go | ||
| openai.go | ||
| openai_encoding_format_test.go | ||
| openai_test.go | ||
| test_home_test.go | ||