Skip to content

Commit a047be0

Browse files
authored
fix: see if message is apart of agentic loop (#1178)
1 parent a7bfc1a commit a047be0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/aws-lsp-codewhisperer/src/language-server/agenticChat/agenticChatController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ export class AgenticChatController implements ChatHandlers {
564564
if (result.success) {
565565
// Process tool uses and update the request input for the next iteration
566566
toolResults = await this.#processToolUses(pendingToolUses, chatResultStream, session, tabId, token)
567+
metric.setDimension('cwsprChatConversationType', 'AgenticChatWithToolUse')
567568
} else {
568569
// Send an error card to UI?
569570
toolResults = pendingToolUses.map(toolUse => ({

0 commit comments

Comments
 (0)