From 802cb4ea36c35969cbf5d56321358d0ef7174f2d Mon Sep 17 00:00:00 2001 From: gnanam1990 Date: Wed, 1 Apr 2026 22:43:55 +0530 Subject: [PATCH] fix: add OpenAI and Gemini to /login 3rd-party platform screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /login platform_setup screen only listed Amazon Bedrock, Microsoft Foundry, and Vertex AI — OpenAI-compatible providers and Gemini were completely absent, leaving users with no guidance on how to use OpenClaude's main feature. Changes: - Selector label: "Amazon Bedrock, Microsoft Foundry, or Vertex AI" → "OpenAI, Gemini, Bedrock, Ollama, and more" - Description updated to mention OpenAI-compatible providers and Gemini - Added OpenAI and Gemini env var instructions to the docs list Fixes #43 (login screen confusion for Gemini users). Co-Authored-By: Claude Sonnet 4.6 --- src/components/ConsoleOAuthFlow.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/ConsoleOAuthFlow.tsx b/src/components/ConsoleOAuthFlow.tsx index a0779478..873caf73 100644 --- a/src/components/ConsoleOAuthFlow.tsx +++ b/src/components/ConsoleOAuthFlow.tsx @@ -403,7 +403,7 @@ function OAuthStatusMessage(t0) { let t6; if ($[5] === Symbol.for("react.memo_cache_sentinel")) { t6 = [t4, t5, { - label: 3rd-party platform ·{" "}Amazon Bedrock, Microsoft Foundry, or Vertex AI{"\n"}, + label: 3rd-party platform ·{" "}OpenAI, Gemini, Bedrock, Ollama, and more{"\n"}, value: "platform" }]; $[5] = t6; @@ -460,7 +460,7 @@ function OAuthStatusMessage(t0) { let t2; let t3; if ($[13] === Symbol.for("react.memo_cache_sentinel")) { - t2 = Claude Code supports Amazon Bedrock, Microsoft Foundry, and Vertex AI. Set the required environment variables, then restart Claude Code.; + t2 = OpenClaude supports OpenAI-compatible providers (GPT-4o, DeepSeek, Ollama, Groq), Google Gemini, Amazon Bedrock, Microsoft Foundry, and Vertex AI. Set the required environment variables, then restart OpenClaude.; t3 = If you are part of an enterprise organization, contact your administrator for setup instructions.; $[13] = t2; $[14] = t3; @@ -491,7 +491,10 @@ function OAuthStatusMessage(t0) { } let t7; if ($[18] === Symbol.for("react.memo_cache_sentinel")) { - t7 = {t4}{t5}{t6}· Vertex AI:{" "}https://code.claude.com/docs/en/google-vertex-ai; + t7 = {t4} + · OpenAI / any OpenAI-compatible provider (GPT-4o, DeepSeek, Ollama, Groq):{"\n"}{" "}CLAUDE_CODE_USE_OPENAI=1 OPENAI_API_KEY=sk-... OPENAI_MODEL=gpt-4o + · Google Gemini (free key at https://aistudio.google.com/apikey):{"\n"}{" "}CLAUDE_CODE_USE_GEMINI=1 GEMINI_API_KEY=your-key + {t5}{t6}· Vertex AI:{" "}https://code.claude.com/docs/en/google-vertex-ai; $[18] = t7; } else { t7 = $[18];