diff options
| author | agarwalravikant <[email protected]> | 2025-08-19 10:55:47 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-19 05:25:47 +0000 |
| commit | 58c2925624c5befe130fbe120707455daf91c910 (patch) | |
| tree | a8d5ff63a8ab5875e51230dbdc74d3ed1998de49 /packages/cli/src | |
| parent | e290a61a52a08306269b49174160ab9a92df5f19 (diff) | |
Changes to add tool_type as dimension (#6538)
Co-authored-by: Ravikant Agarwal <[email protected]>
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/zed-integration/zedIntegration.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/cli/src/zed-integration/zedIntegration.ts b/packages/cli/src/zed-integration/zedIntegration.ts index 6adaeb70..51b1f170 100644 --- a/packages/cli/src/zed-integration/zedIntegration.ts +++ b/packages/cli/src/zed-integration/zedIntegration.ts @@ -22,6 +22,7 @@ import { isWithinRoot, getErrorStatus, MCPServerConfig, + DiscoveredMCPTool, } from '@google/gemini-cli-core'; import * as acp from './acp.js'; import { AcpFileSystemService } from './fileSystemService.js'; @@ -344,6 +345,10 @@ class Session { duration_ms: durationMs, success: false, error: error.message, + tool_type: + typeof tool !== 'undefined' && tool instanceof DiscoveredMCPTool + ? 'mcp' + : 'native', }); return [ @@ -457,6 +462,10 @@ class Session { duration_ms: durationMs, success: true, prompt_id: promptId, + tool_type: + typeof tool !== 'undefined' && tool instanceof DiscoveredMCPTool + ? 'mcp' + : 'native', }); return convertToFunctionResponse(fc.name, callId, toolResult.llmContent); |
