feat: integrated with artifacts in states

This commit is contained in:
Henry Li
2026-01-17 17:21:37 +08:00
parent ab65ab3af2
commit 9a3f72869c
8 changed files with 118 additions and 70 deletions

View File

@@ -4,6 +4,7 @@ import type { Thread } from "@langchain/langgraph-sdk";
export interface AgentThreadState extends Record<string, unknown> {
title: string;
messages: BaseMessage[];
artifacts: string[];
}
export interface AgentThread extends Thread<AgentThreadState> {}