mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
capture toolName
This commit is contained in:
parent
46d318b0ce
commit
58804620f7
1 changed files with 2 additions and 2 deletions
|
|
@ -74,9 +74,9 @@ export const sendLLMMessage = async ({
|
|||
}
|
||||
|
||||
const onFinalMessage: OnFinalMessage = (params) => {
|
||||
const { fullText, fullReasoning } = params
|
||||
const { fullText, fullReasoning, toolCall } = params
|
||||
if (_didAbort) return
|
||||
captureLLMEvent(`${loggingName} - Received Full Message`, { messageLength: fullText.length, reasoningLength: fullReasoning?.length, duration: new Date().getMilliseconds() - submit_time.getMilliseconds() })
|
||||
captureLLMEvent(`${loggingName} - Received Full Message`, { messageLength: fullText.length, reasoningLength: fullReasoning?.length, duration: new Date().getMilliseconds() - submit_time.getMilliseconds(), toolCallName: toolCall?.name })
|
||||
onFinalMessage_(params)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue