ollama/middleware
Bruce MacDonald 1a636fb47a
cmd: set codex env vars on launch and handle zstd request bodies (#14122)
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.
2026-02-18 17:19:36 -08:00
..
anthropic.go anthropic: enable websearch (#14246) 2026-02-13 19:20:46 -08:00
anthropic_test.go anthropic: enable websearch (#14246) 2026-02-13 19:20:46 -08:00
openai.go cmd: set codex env vars on launch and handle zstd request bodies (#14122) 2026-02-18 17:19:36 -08:00
openai_encoding_format_test.go embeddings: base64 encoding fix (#12715) 2025-10-22 11:27:44 -07:00
openai_test.go cmd: set codex env vars on launch and handle zstd request bodies (#14122) 2026-02-18 17:19:36 -08:00
test_home_test.go anthropic: enable websearch (#14246) 2026-02-13 19:20:46 -08:00