From aacfcae382f8596b1e5878f2de310ea139b10f67 Mon Sep 17 00:00:00 2001 From: kaixxx Date: Fri, 12 Sep 2025 00:59:49 +0200 Subject: [PATCH 1/3] Codex CLI - setting 'store = false' store = true leads to: BadRequestError("Error code: 400 - {'detail': 'Store must be set to false'}") --- .../codex/openai/chat-completions/codex_openai_request.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/internal/translator/codex/openai/chat-completions/codex_openai_request.go b/internal/translator/codex/openai/chat-completions/codex_openai_request.go index de493cbc..602f3e52 100644 --- a/internal/translator/codex/openai/chat-completions/codex_openai_request.go +++ b/internal/translator/codex/openai/chat-completions/codex_openai_request.go @@ -259,9 +259,6 @@ func ConvertOpenAIRequestToCodex(modelName string, inputRawJSON []byte, stream b out, _ = sjson.Set(out, "text.verbosity", v.Value()) } } - - // The examples include store: true when response_format is provided - store = true } else if text.Exists() { // If only text.verbosity present (no response_format), map verbosity if v := text.Get("verbosity"); v.Exists() { @@ -306,10 +303,6 @@ func ConvertOpenAIRequestToCodex(modelName string, inputRawJSON []byte, stream b out, _ = sjson.SetRaw(out, "tools.-1", item) } } - // The examples include store: true when tools and formatting are used; be conservative - if rf.Exists() { - store = true - } } out, _ = sjson.Set(out, "store", store) From b7d6ae1b486b084a693ead0123e8cac45cf6d364 Mon Sep 17 00:00:00 2001 From: kaixxx Date: Fri, 12 Sep 2025 01:12:51 +0200 Subject: [PATCH 2/3] Windows build instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 454b47bd..725e2e64 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,15 @@ The first Chinese provider has now been added: [Qwen Code](https://github.com/Qw ``` 2. Build the application: + Linux, macOS: ```bash go build -o cli-proxy-api ./cmd/server ``` + Windows: + ```bash + go build -o cli-proxy-api.exe ./cmd/server + ``` + ## Usage From b3c534bae51aa2b8d22fc6d25a367dba1b875291 Mon Sep 17 00:00:00 2001 From: kaixxx Date: Fri, 12 Sep 2025 01:16:54 +0200 Subject: [PATCH 3/3] Build instructions reformatting --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 725e2e64..7d92bac3 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ The first Chinese provider has now been added: [Qwen Code](https://github.com/Qw ``` 2. Build the application: + Linux, macOS: ```bash go build -o cli-proxy-api ./cmd/server