I can't affort the full model lol. Use jsonrepair module to fix agent malformed JSON instead.

This commit is contained in:
William Jeynes
2026-03-26 15:37:14 +00:00
parent 38b6fb6a0e
commit 38ca7a3d34
4 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -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));