feat: change IDENTITY_MODEL and reasoningEffort
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user