I can't affort the full model lol. Use jsonrepair module to fix agent malformed JSON instead.
This commit is contained in:
@@ -9,7 +9,7 @@ export function createModelNode(tools: any, promptPath: string): GraphNode<typeo
|
||||
const sysPrompt = await hydratePrompt(promptPath, state);
|
||||
|
||||
const model = new ChatOpenAI({
|
||||
model: "gpt-5.4"
|
||||
model: "gpt-5.4-mini"
|
||||
});
|
||||
const modelWithTools = model.bindTools(Object.values(tools));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user