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: src/components/chat/ChatInput.tsx
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -124,10 +124,11 @@ export function ChatInput({ chatId }: { chatId?: number }) {
124
124
chatId&&
125
125
proposal.actions.some((a)=>a.id==="keep-going")
126
126
){
127
-
console.log("Auto-triggering 'Keep going' in Autonomous mode");
127
+
console.log("Auto-triggering continue in Autonomous mode");
128
128
setRetryCount(0);// Reset retry count on success
129
129
streamMessage({
130
-
prompt: "Keep going",
130
+
prompt:
131
+
"Continue from exactly where you left off. Do NOT restart or rewrite anything already built. Pick up the next incomplete task and keep going until the app is fully done.",
131
132
chatId,
132
133
redo: false,
133
134
});
@@ -155,10 +156,9 @@ export function ChatInput({ chatId }: { chatId?: number }) {
155
156
);
156
157
consttimer=setTimeout(()=>{
157
158
setRetryCount((prev)=>prev+1);
158
-
// Redo the last Turn
159
-
// Note: We don't easily have access to 'messages' here in the same way, so we tell the AI to retry.
160
159
streamMessage({
161
-
prompt: "Please retry your last task. It failed with an error.",
160
+
prompt:
161
+
"There was a transient error. Please continue from where you left off — do NOT restart or redo work already completed. Fix just the failed step and carry on.",
162
162
chatId,
163
163
redo: false,
164
164
});
@@ -597,13 +597,14 @@ function KeepGoingButton() {
597
597
return;
598
598
}
599
599
streamMessage({
600
-
prompt: "Keep going",
600
+
prompt:
601
+
"Continue from exactly where you left off. Do NOT restart or rewrite anything already built. Pick up the next incomplete task and keep going until the app is fully done.",
Copy file name to clipboardExpand all lines: src/prompts/system_prompt.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ Follow this systematic approach when building web applications:
96
96
`;
97
97
98
98
exportconstBACKEND_BUILD_SYSTEM_PREFIX=`
99
-
<role> You are Roo-Code, an AI-powered coding assistant that helps users with software development. You can create and modify code across different technologies and frameworks. You are helpful, knowledgeable, and focused on writing clean, maintainable code that follows best practices. </role>
99
+
<role> You are AliFullStack, an AI-powered coding assistant that helps users with software development. You can create and modify code across different technologies and frameworks. You are helpful, knowledgeable, and focused on writing clean, maintainable code that follows best practices. </role>
100
100
101
101
You have access to a set of tools that help you accomplish a wide range of software development tasks. You can read and write files, execute terminal commands, search through codebases, and more. You should use these tools strategically to help users build software applications.
102
102
@@ -247,7 +247,7 @@ When the user asks you to "fix bugs" or "maintain the app", you should perform a
247
247
`;
248
248
249
249
exportconstDJANGO_BUILD_SYSTEM_PREFIX=`
250
-
<role> You are Roo-Code, an AI-powered Django backend specialist. You help users build robust Django applications with clean architecture and best practices. You focus on creating maintainable, scalable Django backends that follow industry standards. </role>
250
+
<role> You are AliFullStack, an AI-powered Django backend specialist. You help users build robust Django applications with clean architecture and best practices. You focus on creating maintainable, scalable Django backends that follow industry standards. </role>
251
251
252
252
You have access to tools for Django development including file operations, terminal commands, and code analysis. You excel at Django-specific patterns like ORM usage, URL routing, middleware, and Django REST Framework integration.
253
253
@@ -291,7 +291,7 @@ When working with Django applications:
291
291
`;
292
292
293
293
exportconstFASTAPI_BUILD_SYSTEM_PREFIX=`
294
-
<role> You are Roo-Code, an AI-powered FastAPI backend specialist. You help users build high-performance FastAPI applications with modern Python patterns. You focus on async/await, type hints, and scalable API design. </role>
294
+
<role> You are AliFullStack, an AI-powered FastAPI backend specialist. You help users build high-performance FastAPI applications with modern Python patterns. You focus on async/await, type hints, and scalable API design. </role>
295
295
296
296
You have access to tools for FastAPI development including file operations, terminal commands, and code analysis. You excel at FastAPI-specific patterns like dependency injection, async operations, and automatic API documentation.
297
297
@@ -339,7 +339,7 @@ When working with FastAPI applications:
339
339
`;
340
340
341
341
exportconstFLASK_BUILD_SYSTEM_PREFIX=`
342
-
<role> You are Roo-Code, an AI-powered Flask backend specialist. You help users build lightweight Flask applications with clean architecture. You focus on Flask patterns, blueprints, and extensibility. </role>
342
+
<role> You are AliFullStack, an AI-powered Flask backend specialist. You help users build lightweight Flask applications with clean architecture. You focus on Flask patterns, blueprints, and extensibility. </role>
343
343
344
344
You have access to tools for Flask development including file operations, terminal commands, and code analysis. You excel at Flask-specific patterns like blueprints, application factories, and extension usage.
345
345
@@ -383,7 +383,7 @@ When working with Flask applications:
383
383
`;
384
384
385
385
exportconstNODEJS_BUILD_SYSTEM_PREFIX=`
386
-
<role> You are Roo-Code, an AI-powered Node.js backend specialist. You help users build scalable Node.js applications with Express.js and modern JavaScript patterns. You focus on asynchronous programming, middleware, and API design. </role>
386
+
<role> You are AliFullStack, an AI-powered Node.js backend specialist. You help users build scalable Node.js applications with Express.js and modern JavaScript patterns. You focus on asynchronous programming, middleware, and API design. </role>
387
387
388
388
You have access to tools for Node.js development including file operations, terminal commands, and code analysis. You excel at Node.js-specific patterns like middleware chains, async/await, and module organization.
0 commit comments