UNPKG

@langchain/langgraph-sdk

Version:

Client library for interacting with the LangGraph API

17 lines (16 loc) • 627 B
import { AgentServerAdapter } from "./transport.js"; //#region src/client/stream/resolve-client-api-url.d.ts /** * Resolve the LangGraph SDK `Client` base URL for hydration and history * reads when the caller uses a custom {@link AgentServerAdapter}. * * Explicit `apiUrl` wins; otherwise inherit from adapters that expose * `apiUrl` (e.g. {@link HttpAgentServerAdapter}). */ declare function resolveClientApiUrl(options: { apiUrl?: string; transport?: "sse" | "websocket" | AgentServerAdapter; }): string | undefined; //#endregion export { resolveClientApiUrl }; //# sourceMappingURL=resolve-client-api-url.d.ts.map