feat: change IDENTITY_MODEL and reasoningEffort

This commit is contained in:
2026-06-07 15:59:22 +09:00
parent 4304099a1b
commit b14f971dab

View File

@@ -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