@langchain/langgraph-sdk
Version:
Client library for interacting with the LangGraph API
17 lines (16 loc) • 629 B
text/typescript
import { AgentServerAdapter } from "./transport.cjs";
//#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.cts.map