From 41945eeded964ec93f4f031013e2009e4befbe1f Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:00:12 +0200 Subject: [PATCH] update... --- g4f/Provider/openai/new.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/g4f/Provider/openai/new.py b/g4f/Provider/openai/new.py index 479d5d5b6bb..f4d8e13d35e 100644 --- a/g4f/Provider/openai/new.py +++ b/g4f/Provider/openai/new.py @@ -5,6 +5,9 @@ import time import uuid +from collections import OrderedDict, defaultdict +from typing import Any, Callable, Dict, List + from datetime import ( datetime, timedelta, @@ -445,14 +448,6 @@ def get_requirements_token(config): ### processing turnstile token -import json -import random -import time -import base64 - -from collections import OrderedDict, defaultdict -from typing import Any, Callable, Dict, List - class OrderedMap: def __init__(self): self.map = OrderedDict()