summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/openai
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/Provider/openai')
-rw-r--r--g4f/Provider/openai/new.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/g4f/Provider/openai/new.py b/g4f/Provider/openai/new.py
index 479d5d5b..f4d8e13d 100644
--- a/g4f/Provider/openai/new.py
+++ b/g4f/Provider/openai/new.py
@@ -5,6 +5,9 @@ import json
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()