File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
backend/src/tools/handlers Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -75,16 +75,15 @@ export const handleSpawnAgents = ((params: {
7575 )
7676 }
7777
78- const conversationHistoryMessage : CoreMessage = {
79- role : 'user' ,
80- content : `For context, the following is the conversation history between the user and an assistant:\n\n${ JSON . stringify (
81- mutableState . messages ,
82- null ,
83- 2
84- ) } `,
85- }
86-
8778 const triggerSpawnAgents = async ( ) => {
79+ const conversationHistoryMessage : CoreMessage = {
80+ role : 'user' ,
81+ content : `For context, the following is the conversation history between the user and an assistant:\n\n${ JSON . stringify (
82+ mutableState . messages ,
83+ null ,
84+ 2
85+ ) } `,
86+ }
8887 // Initialize registry and get all templates
8988 await agentRegistry . initialize ( fileContext )
9089 const allTemplates = agentRegistry . getAllTemplates ( )
You can’t perform that action at this time.
0 commit comments