From cadc507fad2fee59b23d1d8e73c472c077f468fc Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 18 Nov 2023 04:38:31 +0100 Subject: Add AiChatOnline, ChatgptDemoAi, ChatgptNext Providers Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package --- .../npm/node_modules/undici/types/proxy-agent.d.ts | 30 ---------------------- 1 file changed, 30 deletions(-) delete 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 deleted file mode 100644 index 96b26381..00000000 --- a/g4f/Provider/npm/node_modules/undici/types/proxy-agent.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -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