Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
chore(decider): drop issue number from Gemini picker comments
Bugfixer 2be7855c7c493
diff --git a/server/decider/openrouter-models.test.ts b/server/decider/openrouter-models.test.tsindex e8a6f966d4..02d23fa303 100644--- a/server/decider/openrouter-models.test.ts+++ b/server/decider/openrouter-models.test.ts@@ -53,7 +53,7 @@ describe("which OpenRouter models the picker offers", () => {expect(mergeModels(new Map([["alpha/model", "Alpha"]])).source).toBe("builtin");});- it("offers Gemini Flash chat models that take every chat parameter, as uncalibrated chat models sorted by name (#5712)", () => {+ it("offers Gemini Flash chat models that take every chat parameter, as uncalibrated chat models sorted by name", () => {const found = geminiChatModels({data: [chat("google/gemini-3.5-flash", { name: "Google: Gemini 3.5 Flash" }),diff --git a/server/decider/openrouter-models.ts b/server/decider/openrouter-models.tsindex 2ec5430e55..152a73d831 100644--- a/server/decider/openrouter-models.ts+++ b/server/decider/openrouter-models.ts@@ -30,7 +30,7 @@ export const OPENROUTER_DECIDER_MODELS: ReadonlyArray<{ id: string; name: string{ id: "google/gemini-decision-1", name: "Google: Gemini Decision 1" },];-/** Gemini chat models (#5712): the fast Flash tier only (a decision must answer within 1.5 s), no `:batch` or other variant. */+/** Gemini chat models: the fast Flash tier only (a decision must answer within 1.5 s), no `:batch` or other variant. */const GEMINI_CHAT_ID = /^google\/gemini-[^:]*flash[^:]*$/;/** Every parameter the chat request sends (`openrouterRequestBody`); it asks OpenRouter for hosts that honour them all. */const CHAT_PARAMETERS = ["max_tokens", "temperature", "response_format", "structured_outputs"];@@ -156,7 +156,7 @@ export function createOpenRouterModelCatalog(deps: OpenRouterModelCatalogDeps =async load(baseUrl?: string | null): Promise<OpenRouterModelList> {const list = cachedLoad(baseUrl, output, readList, builtin(curated, output));if (output !== "decisions") return list;- // The Gemini chat models (#5712) come after the live decisions list; none beside the built-in one.+ // The Gemini chat models come after the live decisions list; none beside the built-in one.const [decisions, chat] = await Promise.all([list, cachedLoad(baseUrl, "text", geminiChatModels, [])]);if (decisions.source !== "openrouter" || !chat.length) return decisions;const ids = new Set(decisions.models.map((model) => model.id));