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): add clear_api_key to merged dev-test ProviderUpdate literal

thinhlpg6d7389cf0ccc
diff --git a/src-tauri/src/core/cli/tui.rs b/src-tauri/src/core/cli/tui.rs
index 672688626..283b92d44 100644
--- a/src-tauri/src/core/cli/tui.rs
+++ b/src-tauri/src/core/cli/tui.rs
@@ -16335,6 +16335,7 @@ mod tests {
"tokamak",
crate::core::agent::global_config::ProviderUpdate {
api_key: Some("tk".into()),
+ clear_api_key: false,
base_url: Some(crate::core::cli::tokamak::BASE_URL.into()),
models: Some(vec!["tokamak-1-preview".into()]),
api_type: None,