mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
fix(panel): support Orchestrator (Neon) and prevent future variants from falling back to Carbon
# Conflicts: # sidecars/panel/index.html # sidecars/panel/test/backend-harness.mjs
This commit is contained in:
@@ -169,7 +169,7 @@ function findHostTitlebar() {
|
||||
const COMPOSER_EXCLUDED_ANCESTOR_SELECTOR =
|
||||
'.part.titlebar, .part.statusbar, .quick-input-widget, .suggest-widget, .find-widget, .scm-editor, .search-view, [class*="@container/titlebar"]';
|
||||
const COMPOSER_MODEL_LABEL_RE =
|
||||
/\b(?:gemini|claude|gpt|argon|carbon|hydrogen|helix|flash|sonnet|opus|haiku|orchestrator|llama|deepseek|qwen|mistral|model_placeholder|placeholder_m\d+|o[134](?:-\w+)?)\b/i;
|
||||
/\b(?:gemini|claude|gpt|argon|carbon|neon|hydrogen|helix|flash|sonnet|opus|haiku|orchestrator|llama|deepseek|qwen|mistral|model_placeholder|placeholder_m\d+|o[134](?:-\w+)?)\b/i;
|
||||
const COMPOSER_MODEL_ATTR_RE =
|
||||
/\bmodel[-_\s]?(?:select|picker|switch|selector|menu|name)\b|选择模型|切换模型/i;
|
||||
const COMPOSER_MODE_EXACT_RE = /^(?:auto|自动)$/i;
|
||||
|
||||
Reference in New Issue
Block a user