refactor: refine folder structure and rename

This commit is contained in:
Henry Li
2026-01-16 09:13:02 +08:00
parent 7680a5adba
commit fe7504daed
13 changed files with 65 additions and 37 deletions
@@ -4,13 +4,13 @@ import { useStream } from "@langchain/langgraph-sdk/react";
import { useParams } from "next/navigation";
import { getLangGraphClient } from "@/core/api";
import type { MessageThreadState } from "@/core/thread";
import type { AgentThreadState } from "@/core/threads";
const apiClient = getLangGraphClient();
export default function TestPage() {
const { thread_id: threadId } = useParams<{ thread_id: string }>();
const thread = useStream<MessageThreadState>({
const thread = useStream<AgentThreadState>({
client: apiClient,
assistantId: "lead_agent",
threadId,