We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 152961a commit d1a555bCopy full SHA for d1a555b
1 file changed
backend/src/main-prompt.ts
@@ -106,6 +106,7 @@ export const mainPrompt = async (
106
cwd,
107
} = action
108
const { fileContext, agentContext } = agentState
109
+ const startTime = Date.now()
110
let messageHistory = agentState.messageHistory
111
112
// Get the extracted repo ID from request context
@@ -565,6 +566,7 @@ export const mainPrompt = async (
565
566
toolResults,
567
systemTokens,
568
model,
569
+ duration: Date.now() - startTime,
570
},
571
`Main prompt ${iterationNum}`
572
)
@@ -1118,6 +1120,7 @@ export const mainPrompt = async (
1118
1120
agentContext: newAgentContext,
1119
1121
messagesWithResponse,
1122
1123
1124
1125
`Main prompt response ${iterationNum}`
1126
0 commit comments