Skip to content

Commit 1e27dd0

Browse files
authored
fix: Refactor chat interface tool call labels
1 parent d2f6ec5 commit 1e27dd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libs/naas-abi/naas_abi/apps/nexus/apps/web/src/components/chat/chat-interface.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ export function ChatInterface() {
13391339
if (!stepName) return;
13401340

13411341
const label = stepType === 'call_model'
1342-
? `Calling ${stepName}`
1342+
? `Calling model`
13431343
: `Routing to ${stepName}`;
13441344

13451345
const last = streamToolCalls[streamToolCalls.length - 1];
@@ -1377,7 +1377,7 @@ export function ChatInterface() {
13771377
if (!rawTool) return false;
13781378
const input = getStringValue(payload.input, payload.data) || undefined;
13791379
handleToolStartEvent(rawTool, input);
1380-
streamActivityLine = `Tool: ${formatToolName(rawTool)}`;
1380+
streamActivityLine = `${formatToolName(rawTool)}`;
13811381
hasDetailedActivity = true;
13821382
return true;
13831383
}

0 commit comments

Comments
 (0)