File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ export const mainPrompt = async (
106106 cwd,
107107 } = action
108108 const { fileContext, agentContext } = agentState
109+ const startTime = Date . now ( )
109110 let messageHistory = agentState . messageHistory
110111
111112 // Get the extracted repo ID from request context
@@ -565,6 +566,7 @@ export const mainPrompt = async (
565566 toolResults,
566567 systemTokens,
567568 model,
569+ duration : Date . now ( ) - startTime ,
568570 } ,
569571 `Main prompt ${ iterationNum } `
570572 )
@@ -1118,6 +1120,7 @@ export const mainPrompt = async (
11181120 agentContext : newAgentContext ,
11191121 messagesWithResponse,
11201122 model,
1123+ duration : Date . now ( ) - startTime ,
11211124 } ,
11221125 `Main prompt response ${ iterationNum } `
11231126 )
You can’t perform that action at this time.
0 commit comments