From b0aa8f68a267b21857fa748cf1530fe202e4ef36 Mon Sep 17 00:00:00 2001 From: Jakub Zika Date: Thu, 24 Sep 2026 13:18:54 +0200 Subject: [PATCH] Bump Codex client version to list gpt-6-sol and gpt-6-luna The ChatGPT Codex /models endpoint filters models by the client version the request presents. gpt-6-sol and gpt-6-luna require 0.155.0, so the pinned 0.153.1 hid them from ChatGPT OAuth accounts. Present 0.155.1: newest requirement plus 0.0.1, as before. Also fix the stale query-commands integration test: master added the /plugin-update command and changed the plugin-uninstall argument description without updating the test, which left CI red on every branch based on it. --- CHANGELOG.md | 2 ++ integration-test/integration/chat/commands_test.clj | 4 +++- src/eca/llm_providers/openai.clj | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c939e87eb..63bc15ce1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- List the new OpenAI `gpt-6-sol`/`gpt-6-luna` models for ChatGPT OAuth accounts by bumping the Codex client version the backend gates on. + ## 0.161.1 - Add Claude Opus 5.5 support. diff --git a/integration-test/integration/chat/commands_test.clj b/integration-test/integration/chat/commands_test.clj index dcb8f360a..dfab6dc95 100644 --- a/integration-test/integration/chat/commands_test.clj +++ b/integration-test/integration/chat/commands_test.clj @@ -52,8 +52,10 @@ {:name "plugins" :arguments []} {:name "plugin-install" :arguments [{:name "plugin" :description "Plugin name or plugin@marketplace" :required true}]} + {:name "plugin-update" + :arguments [{:name "marketplace" :description "Configured marketplace source name" :required true}]} {:name "plugin-uninstall" - :arguments [{:name "plugin" :description "Plugin name" :required true}]} + :arguments [{:name "plugin" :description "Plugin name or plugin@marketplace" :required true}]} {:name "hooks" :arguments []} {:name "eca-info" :arguments nil}]} resp)))) diff --git a/src/eca/llm_providers/openai.clj b/src/eca/llm_providers/openai.clj index f9d3b1b65..de18ceebe 100644 --- a/src/eca/llm_providers/openai.clj +++ b/src/eca/llm_providers/openai.clj @@ -47,8 +47,8 @@ ;; for some models. All Codex specifics live in the `codex-` fns below. ;; Keep >= the `minimal_client_version` of the newest model we want the Codex -;; /models endpoint to list (gpt-6-astra requires 0.153.0). -(def ^:private codex-compatibility-version "0.153.1") +;; /models endpoint to list (gpt-6-sol/gpt-6-luna require 0.155.0). +(def ^:private codex-compatibility-version "0.155.1") (def ^:private codex-responses-url "https://chatgpt.com/backend-api/codex/responses")