You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/chat-cli/src/cli/chat/mod.rs
+4-15Lines changed: 4 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,6 @@ use crate::cli::chat::cli::prompts::{
145
145
PromptsSubcommand,
146
146
};
147
147
usecrate::cli::chat::message::UserMessage;
148
-
usecrate::cli::chat::tools::ToolOrigin;
149
148
usecrate::cli::chat::util::sanitize_unicode_tags;
150
149
usecrate::database::settings::Setting;
151
150
usecrate::mcp_client::Prompt;
@@ -2878,7 +2877,7 @@ impl ChatSession {
2878
2877
Ok(s) => s,
2879
2878
Err(e) => returnErr(ChatError::Custom(format!("Error deserializing todo list: {e}").into())),
2880
2879
};
2881
-
letsummary_content = format!(
2880
+
letrequest_content = format!(
2882
2881
"[SYSTEM NOTE: This is an automated request, not from the user]\n
2883
2882
Read the TODO list contents below and understand the task description, completed tasks, and provided context.\n
2884
2883
Call the `load` command of the todo_list tool with the given ID as an argument to display the TODO list to the user and officially resume execution of the TODO list tasks.\n
@@ -2889,23 +2888,13 @@ impl ChatSession {
2889
2888
id
2890
2889
);
2891
2890
2892
-
let summary_message = UserMessage::new_prompt(summary_content.clone(),None);
2891
+
let summary_message = UserMessage::new_prompt(request_content.clone(),None);
0 commit comments