UNPKG

langsmith

Version:

Client library to connect to the LangSmith Observability and Evaluation Platform.

10 lines (9 loc) 516 B
/** * Overrides the fetch implementation used for LangSmith calls. * You should use this if you need to use an implementation of fetch * other than the default global (e.g. for dealing with proxies). * @param fetch The new fetch function to use. */ export declare const overrideFetchImplementation: (fetch: (...args: any[]) => any, supportsWebStreaming?: boolean) => void; export declare const clearFetchImplementation: () => void; export declare const _shouldStreamForGlobalFetchImplementation: () => boolean;