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): say 'recommended (else first)' in the ask timeout note

thinhlpg97ec3d18bda5
diff --git a/src-tauri/src/core/agent/loop.rs b/src-tauri/src/core/agent/loop.rs
index 6193268aa..7ec4e66ee 100644
--- a/src-tauri/src/core/agent/loop.rs
+++ b/src-tauri/src/core/agent/loop.rs
@@ -576,7 +576,7 @@ impl CompositeToolInvoker {
request_id: request_id.clone(),
});
return format!(
- "NOTE [ask_timeout]: no answer within the configured ask timeout; auto-selected the recommended option(s).\n{}",
+ "NOTE [ask_timeout]: no answer within the configured ask timeout; auto-selected the recommended (else first) option(s).\n{}",
request.render_results(&results)
);
}