start adding dummy nodes

This commit is contained in:
William Jeynes
2026-01-28 21:26:34 +00:00
parent a3201d17a2
commit c6416622e4
14 changed files with 188 additions and 61 deletions
+9
View File
@@ -0,0 +1,9 @@
import { GraphNode } from "@langchain/langgraph";
import { MessagesState } from "../state";
import { HumanMessage } from "@langchain/core/messages";
export const verificationSetup: GraphNode<typeof MessagesState> = async (state) => {
//TODO: this might not be needed, looks nice on the graph tho
return { messages: [ new HumanMessage(state.messages.at(-1)?.content ?? "undefined")] };
};