






















@@ -20,6 +20,8 @@ const HIGH_SIGNAL_LIVE_MODEL_PRIORITY = [
2020"minimax/minimax-m2.7",
2121"openai/gpt-5.2",
2222"openai-codex/gpt-5.2",
23+"openrouter/openai/gpt-5.2-chat",
24+"openrouter/minimax/minimax-m2.7",
2325"opencode-go/glm-5",
2426"openrouter/ai21/jamba-large-1.7",
2527"xai/grok-4-1-fast-non-reasoning",
@@ -37,6 +39,11 @@ const DEFAULT_HIGH_SIGNAL_LIVE_EXCLUDED_PROVIDERS = new Set(["codex", "codex-cli
3739const HIGH_SIGNAL_LIVE_MODEL_PRIORITY_INDEX = new Map<string, number>(
3840HIGH_SIGNAL_LIVE_MODEL_PRIORITY.map((key, index) => [key, index]),
3941);
42+const OPENROUTER_HIGH_SIGNAL_LIVE_MODEL_IDS = new Set(
43+HIGH_SIGNAL_LIVE_MODEL_PRIORITY.filter((key) => key.startsWith("openrouter/")).map((key) =>
44+key.slice("openrouter/".length),
45+),
46+);
40474148function isHighSignalClaudeModelId(id: string): boolean {
4249const normalized = id.replace(/[_.]/g, "-");
@@ -126,6 +133,13 @@ function isUnsupportedFireworksLiveModelRef(provider: string, id: string): boole
126133return !HIGH_SIGNAL_LIVE_MODEL_PRIORITY_INDEX.has(`${provider}/${id}`);
127134}
128135136+function isUnsupportedOpenRouterLiveModelRef(provider: string, id: string): boolean {
137+if (provider !== "openrouter") {
138+return false;
139+}
140+return !OPENROUTER_HIGH_SIGNAL_LIVE_MODEL_IDS.has(id);
141+}
142+129143export function isModernModelRef(ref: ModelRef): boolean {
130144const provider = normalizeProviderId(ref.provider ?? "");
131145const id = normalizeLowercaseStringOrEmpty(ref.id);
@@ -164,6 +178,9 @@ export function isHighSignalLiveModelRef(ref: ModelRef): boolean {
164178if (isUnsupportedFireworksLiveModelRef(provider, id)) {
165179return false;
166180}
181+if (isUnsupportedOpenRouterLiveModelRef(provider, id)) {
182+return false;
183+}
167184if (isOldMiniMaxLiveModelRef(id)) {
168185return false;
169186}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。