Skip to content

Commit 85acb7e

Browse files
committed
see if errored message was apart of agentic loop
1 parent 694b645 commit 85acb7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/core/src/codewhispererChat/controllers/chat/telemetryHelper.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,11 @@ export class CWCTelemetryHelper {
627627
cwsprChatActiveEditorImportCount: triggerPayload.codeQuery?.fullyQualifiedNames?.used?.length,
628628
cwsprChatResponseCode: responseCode,
629629
cwsprChatRequestLength: triggerPayload.message?.length ?? 0,
630-
cwsprChatConversationType: triggerPayload.origin ? 'AgenticChat' : 'Chat',
630+
cwsprChatConversationType: triggerPayload.origin
631+
? triggerPayload.toolResults
632+
? 'AgenticChatWithToolUse'
633+
: 'AgenticChat'
634+
: 'Chat',
631635
credentialStartUrl: AuthUtil.instance.startUrl,
632636
requestId: requestID,
633637
reasonDesc: getTelemetryReasonDesc(errorReason),

0 commit comments

Comments
 (0)