Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
fix: update Codex model discovery client version (#13581)
Lee Jackson129bb50230a7
diff --git a/studio/backend/core/inference/openai_codex_auth.py b/studio/backend/core/inference/openai_codex_auth.pyindex 383add48da0..e814ecfcc0d 100644--- a/studio/backend/core/inference/openai_codex_auth.py+++ b/studio/backend/core/inference/openai_codex_auth.py@@ -44,8 +44,9 @@ OPENAI_CODEX_API_BASE = "https://chatgpt.com/backend-api"OPENAI_CODEX_RESPONSES_URL = f"{OPENAI_CODEX_API_BASE}/codex/responses"OPENAI_CODEX_MODELS_URL = f"{OPENAI_CODEX_API_BASE}/codex/models"OPENAI_CODEX_USER_AGENT = "unsloth-studio/1"-# /codex/models hides any slug whose minimal_client_version exceeds this.-OPENAI_CODEX_CLIENT_VERSION = "0.156.0"+# Model discovery is client-version dependent, even beyond minimal_client_version.+# Live catalog checks with 0.162.1 include gpt-6.1-sol; 0.156.0 omits it.+OPENAI_CODEX_CLIENT_VERSION = "0.162.1"OPENAI_CODEX_COMPATIBILITY_INSTRUCTIONS = ("You are operating inside Unsloth Studio. Follow the user's instructions, ""use only tools supplied in this request, and return concise, accurate results."