mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-10 00:02:40 +02:00
refactor: integrate TodoListMiddleware and update related components
- Removed the write_todos tool as it is now included by default through TodoListMiddleware in the deep agent. - Updated the system prompt and documentation to reflect the integration of TodoListMiddleware, clarifying its capabilities for managing planning and todo lists. - Enhanced the chat handling logic to extract todos directly from the deep agent's command output, ensuring seamless user experience. - Refactored UI components to align with the new data structure and improve rendering of todo items, including updates to the Plan and TodoItem components. - Cleaned up code for better maintainability and readability, following recent refactoring efforts.
This commit is contained in:
parent
8a3ab3dfac
commit
c28a90fc29
10 changed files with 172 additions and 419 deletions
|
|
@ -77,10 +77,4 @@ export {
|
|||
type PlanTodo,
|
||||
type TodoStatus,
|
||||
} from "./plan";
|
||||
export {
|
||||
WriteTodosToolUI,
|
||||
WriteTodosArgsSchema,
|
||||
WriteTodosResultSchema,
|
||||
type WriteTodosArgs,
|
||||
type WriteTodosResult,
|
||||
} from "./write-todos";
|
||||
export { WriteTodosToolUI, WriteTodosSchema, type WriteTodosData } from "./write-todos";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue