mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-23 00:16:48 +00:00
refactor: refine folder structure and rename
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user