implement verification model

This commit is contained in:
William Jeynes
2026-02-12 22:32:24 +00:00
parent bef856d53a
commit 6dd6bf7eaf
7 changed files with 40 additions and 11 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { hydratePrompt } from "../prompts/hydratePrompt";
export function createModelNode(tools: any, promptPath: string): GraphNode<typeof MessagesState> {
return async (state) => {
const sysPrompt = hydratePrompt(promptPath, state);
const sysPrompt = await hydratePrompt(promptPath, state);
const model = new ChatOpenAI({
model: "gpt-5-mini"