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.

fix(agent-cli): guide model selection after account login

thinhlpg7de85e38499a
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rs
index b54f43aed..2343d8c7b 100644
--- a/src-tauri/src/core/cli/tui.rs
+++ b/src-tauri/src/core/cli/tui.rs
@@ -6158,7 +6158,9 @@ async fn chat_loop<B: Backend>(
account_login = await_account_login(&mut account_login_task) => {
app.account_login_active = false;
match account_login {
- Ok(provider) => app.note(&format!("signed in to {provider}")),
+ Ok(provider) => app.note(&format!(
+ "signed in to {provider}; use /model <id> to select a model"
+ )),
Err(error) => app.note(&format!("account sign-in failed: {error}")),
}
}