UNPKG

@fleek-platform/agents-ui

Version:

The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward

25 lines (24 loc) 765 B
import { Client as LangGraphClient } from '@langchain/langgraph-sdk'; import type React from 'react'; import { type ReactNode } from 'react'; interface LangGraphClientProviderProps { children: ReactNode; apiUrl?: string; apiKey?: string; threadId?: string; assistantId?: string; } /** * Provider component that creates and manages the LangGraph Client instance. */ export declare const LangGraphClientProvider: React.FC<LangGraphClientProviderProps>; /** * Hook to access the shared LangGraph Client instance from the context. * Throws an error if used outside of a LangGraphClientProvider. */ export declare const useLangGraphClientContext: () => { client: LangGraphClient; threadId: string; assistantId: string; }; export {};