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/content-type.d.ts | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 g4f/Provider/npm/node_modules/undici/types/content-type.d.ts (limited to 'g4f/Provider/npm/node_modules/undici/types/content-type.d.ts') diff --git a/g4f/Provider/npm/node_modules/undici/types/content-type.d.ts b/g4f/Provider/npm/node_modules/undici/types/content-type.d.ts deleted file mode 100644 index f2a87f1b..00000000 --- a/g4f/Provider/npm/node_modules/undici/types/content-type.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/// - -interface MIMEType { - type: string - subtype: string - parameters: Map - essence: string -} - -/** - * Parse a string to a {@link MIMEType} object. Returns `failure` if the string - * couldn't be parsed. - * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type - */ -export function parseMIMEType (input: string): 'failure' | MIMEType - -/** - * Convert a MIMEType object to a string. - * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type - */ -export function serializeAMimeType (mimeType: MIMEType): string -- cgit v1.2.3