Add a hint about using todos for complicated tasks (#5473)

This commit is contained in:
Matt Rubens 2025-07-08 13:45:38 -04:00 committed by GitHub
parent 6ab57fae43
commit 32ce45d8bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ import { TodoItem, TodoStatus } from "@roo-code/types"
*/
export function formatReminderSection(todoList?: TodoItem[]): string {
if (!todoList || todoList.length === 0) {
return ""
return "You have not created a todo list yet. Create one with `update_todo_list` if your task is complicated or involves multiple steps."
}
const statusMap: Record<TodoStatus, string> = {
pending: "Pending",