fetch.d.ts 421 B

12345678
  1. /**
  2. * Overrides the fetch implementation used for LangSmith calls.
  3. * You should use this if you need to use an implementation of fetch
  4. * other than the default global (e.g. for dealing with proxies).
  5. * @param fetch The new fetch functino to use.
  6. */
  7. export declare const overrideFetchImplementation: (fetch: (...args: any[]) => any) => void;
  8. export declare const _globalFetchImplementationIsNodeFetch: () => boolean;