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
"For each mode (Code, Architect, Ask) respond with the mode name and what it specializes in after switching to that mode, do not start with the current mode, be sure to say 'I AM DONE' after the task is complete."
9
+
/**
10
+
* Switch modes.
11
+
*/
12
+
13
+
constswitchModesPrompt=
14
+
"For each mode (Code, Architect, Ask) respond with the mode name and what it specializes in after switching to that mode. "+
includeFileDetails=false// we only need file details the first time
859
869
860
-
// The way this agentic loop works is that cline will be given a task that he then calls tools to complete. unless there's an attempt_completion call, we keep responding back to him with his tool's responses until he either attempt_completion or does not use anymore tools. If he does not use anymore tools, we ask him to consider if he's completed the task and then call attempt_completion, otherwise proceed with completing the task.
861
-
// There is a MAX_REQUESTS_PER_TASK limit to prevent infinite requests, but Cline is prompted to finish the task as efficiently as he can.
870
+
// The way this agentic loop works is that cline will be given a
871
+
// task that he then calls tools to complete. Unless there's an
872
+
// attempt_completion call, we keep responding back to him with his
873
+
// tool's responses until he either attempt_completion or does not
874
+
// use anymore tools. If he does not use anymore tools, we ask him
875
+
// to consider if he's completed the task and then call
876
+
// attempt_completion, otherwise proceed with completing the task.
877
+
// There is a MAX_REQUESTS_PER_TASK limit to prevent infinite
878
+
// requests, but Cline is prompted to finish the task as efficiently
0 commit comments