diff options
author | abc <98614666+xtekky@users.noreply.github.com> | 2024-09-19 21:00:12 +0200 |
---|---|---|
committer | abc <98614666+xtekky@users.noreply.github.com> | 2024-09-19 21:00:12 +0200 |
commit | 41945eeded964ec93f4f031013e2009e4befbe1f (patch) | |
tree | 11bcf8919b44e42426a0901fd366a68217a8cf78 /g4f/Provider/openai/new.py | |
parent | update ... (diff) | |
download | gpt4free-41945eeded964ec93f4f031013e2009e4befbe1f.tar gpt4free-41945eeded964ec93f4f031013e2009e4befbe1f.tar.gz gpt4free-41945eeded964ec93f4f031013e2009e4befbe1f.tar.bz2 gpt4free-41945eeded964ec93f4f031013e2009e4befbe1f.tar.lz gpt4free-41945eeded964ec93f4f031013e2009e4befbe1f.tar.xz gpt4free-41945eeded964ec93f4f031013e2009e4befbe1f.tar.zst gpt4free-41945eeded964ec93f4f031013e2009e4befbe1f.zip |
Diffstat (limited to 'g4f/Provider/openai/new.py')
-rw-r--r-- | g4f/Provider/openai/new.py | 11 |
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() |