From dc04ca93060443a3ce6263a476f4dafc66afc6b3 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 28 Oct 2023 07:21:00 +0200 Subject: Add arkose_token to OpenaiChat --- .../npm/node_modules/undici/types/proxy-agent.d.ts | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 g4f/Provider/npm/node_modules/undici/types/proxy-agent.d.ts (limited to 'g4f/Provider/npm/node_modules/undici/types/proxy-agent.d.ts') diff --git a/g4f/Provider/npm/node_modules/undici/types/proxy-agent.d.ts b/g4f/Provider/npm/node_modules/undici/types/proxy-agent.d.ts new file mode 100644 index 00000000..96b26381 --- /dev/null +++ b/g4f/Provider/npm/node_modules/undici/types/proxy-agent.d.ts @@ -0,0 +1,30 @@ +import Agent from './agent' +import buildConnector from './connector'; +import Client from './client' +import Dispatcher from './dispatcher' +import { IncomingHttpHeaders } from './header' +import Pool from './pool' + +export default ProxyAgent + +declare class ProxyAgent extends Dispatcher { + constructor(options: ProxyAgent.Options | string) + + dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; + close(): Promise; +} + +declare namespace ProxyAgent { + export interface Options extends Agent.Options { + uri: string; + /** + * @deprecated use opts.token + */ + auth?: string; + token?: string; + headers?: IncomingHttpHeaders; + requestTls?: buildConnector.BuildOptions; + proxyTls?: buildConnector.BuildOptions; + clientFactory?(origin: URL, opts: object): Dispatcher; + } +} -- cgit v1.2.3