Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

docs(agent-cli): clarify login prompt flow

thinhlpga8f699ef0ae1
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rs
index 60a6fecda..da4d3a2f7 100644
--- a/src-tauri/src/core/cli/tui.rs
+++ b/src-tauri/src/core/cli/tui.rs
@@ -436,9 +436,10 @@ struct PickerItem {
checkbox: Option<bool>,
}
-/// `/login` key entry: a docked prompt that collects a Tokamak API key without
-/// echoing it. Verification runs off the render loop (see `login_task` in
-/// `chat_loop`), so `verifying` marks the window where the prompt is read-only.
+/// `/login` key entry: a docked prompt opened after provider/method selection
+/// that collects a masked API key for the chosen provider without echoing it.
+/// Verification runs off the render loop (see `login_task` in `chat_loop`), so
+/// `verifying` marks the window where the prompt is read-only.
struct LoginPrompt {
provider: String,
/// The key as typed/pasted. Never rendered verbatim -- see `masked`.