fix(browser): handle computer-use model detection for analyze_screenshot (#24502)

This commit is contained in:
Gaurav
2026-04-02 23:05:21 +08:00
committed by GitHub
parent f510394721
commit beff8c91aa
7 changed files with 110 additions and 14 deletions

View File

@@ -377,7 +377,7 @@ export interface BrowserAgentCustomConfig {
headless?: boolean;
/** Path to Chrome profile directory for session persistence. */
profilePath?: string;
/** Model override for the visual agent. */
/** Model for the visual agent's analyze_screenshot tool. When set, enables the tool. */
visualModel?: string;
/** List of allowed domains for the browser agent (e.g., ["github.com", "*.google.com"]). */
allowedDomains?: string[];