diff --git a/src/openrouter/index.ts b/src/openrouter/index.ts index e58ed76..793ab59 100644 --- a/src/openrouter/index.ts +++ b/src/openrouter/index.ts @@ -3,7 +3,7 @@ import { OpenRouter } from "@openrouter/sdk"; import type { ChatRequestEffort } from "@openrouter/sdk/models"; const CONVERSATION_MODEL = "x-ai/grok-4.3" as const; -const IDENTITY_MODEL = "google/gemini-3.5-flash" as const; +const IDENTITY_MODEL = "openai/gpt-5.4-mini" as const; type MODELS = typeof CONVERSATION_MODEL | typeof IDENTITY_MODEL; type StructuredOptions = { @@ -52,9 +52,8 @@ export class LLMExecutor { ], reasoning: { effort: - (options.reasoningEffort ?? model === IDENTITY_MODEL) - ? "high" - : "low", + options.reasoningEffort ?? + (model === IDENTITY_MODEL ? "medium" : "none"), }, responseFormat: "jsonSchemaName" in options