Fix onboarding manual debug JSX

This commit is contained in:
Dotta
2026-03-12 08:54:27 -05:00
parent 448e9c192b
commit f76a7ef408

View File

@@ -1049,46 +1049,27 @@ export function OnboardingWizard() {
? "GEMINI_API_KEY" ? "GEMINI_API_KEY"
: "OPENAI_API_KEY"} : "OPENAI_API_KEY"}
</span>{" "} </span>{" "}
in in env or run{" "}
env or run{" "}
<span className="font-mono"> <span className="font-mono">
Respond with hello. {adapterType === "cursor"
</span> ? "agent login"
</p> : adapterType === "codex_local"
{adapterType === "cursor" ||
adapterType === "codex_local" ||
adapterType === "gemini_local" ||
adapterType === "opencode_local" ? (
<p className="text-muted-foreground">
If auth fails, set{" "}
<span className="font-mono">
{adapterType === "cursor"
? "CURSOR_API_KEY"
: adapterType === "gemini_local"
? "GEMINI_API_KEY"
: "OPENAI_API_KEY"}
</span>{" "}
in env or run{" "}
<span className="font-mono">
{adapterType === "cursor"
? "agent login"
: adapterType === "codex_local"
? "codex login" ? "codex login"
: adapterType === "gemini_local" : adapterType === "gemini_local"
? "gemini auth" ? "gemini auth"
: "opencode auth login"} : "opencode auth login"}
</span> </span>
. .
</p> </p>
) : ( ) : (
<p className="text-muted-foreground"> <p className="text-muted-foreground">
If login is required, run{" "} If login is required, run{" "}
<span className="font-mono">claude login</span>{" "} <span className="font-mono">claude login</span>{" "}
and retry. and retry.
</p> </p>
)} )}
</div> </div>
)} )}
</div> </div>
)} )}