Function overrideFetchImplementation

  • 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).

    Parameters

    • fetch: ((...args) => any)

      The new fetch function to use.

        • (...args): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns void