mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-02 22:26:50 -07:00
fix: Add LlmRole.UTILITY_TOOL to analyzeScreenshot function calls.
This commit is contained in:
@@ -125,6 +125,7 @@ describe('analyzeScreenshot', () => {
|
||||
]),
|
||||
}),
|
||||
'visual-analysis',
|
||||
'utility_tool',
|
||||
);
|
||||
|
||||
// Verify result
|
||||
|
||||
@@ -29,6 +29,7 @@ import type { BrowserManager } from './browserManager.js';
|
||||
import type { Config } from '../../config/config.js';
|
||||
import { getVisualAgentModel } from './modelAvailability.js';
|
||||
import { debugLogger } from '../../utils/debugLogger.js';
|
||||
import { LlmRole } from '../../telemetry/llmRole.js';
|
||||
|
||||
/**
|
||||
* System prompt for the visual analysis model call.
|
||||
@@ -146,6 +147,7 @@ class AnalyzeScreenshotInvocation extends BaseToolInvocation<
|
||||
],
|
||||
},
|
||||
'visual-analysis',
|
||||
LlmRole.UTILITY_TOOL,
|
||||
);
|
||||
|
||||
// Extract text from response
|
||||
|
||||
Reference in New Issue
Block a user