summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-21 22:44:29 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-21 22:44:29 +0200
commit8dcef3b2a72026d3232ec736e1135ec3f4c1abf9 (patch)
tree478ac6ca079f379e5ff5195801b92528bc47fe76
parentAdd Replicate Provider (diff)
downloadgpt4free-8dcef3b2a72026d3232ec736e1135ec3f4c1abf9.tar
gpt4free-8dcef3b2a72026d3232ec736e1135ec3f4c1abf9.tar.gz
gpt4free-8dcef3b2a72026d3232ec736e1135ec3f4c1abf9.tar.bz2
gpt4free-8dcef3b2a72026d3232ec736e1135ec3f4c1abf9.tar.lz
gpt4free-8dcef3b2a72026d3232ec736e1135ec3f4c1abf9.tar.xz
gpt4free-8dcef3b2a72026d3232ec736e1135ec3f4c1abf9.tar.zst
gpt4free-8dcef3b2a72026d3232ec736e1135ec3f4c1abf9.zip
-rw-r--r--g4f/Provider/openai/crypt.py2
-rw-r--r--g4f/Provider/openai/har_file.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/g4f/Provider/openai/crypt.py b/g4f/Provider/openai/crypt.py
index e7f35190..43156f3d 100644
--- a/g4f/Provider/openai/crypt.py
+++ b/g4f/Provider/openai/crypt.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
import json
import base64
import hashlib
diff --git a/g4f/Provider/openai/har_file.py b/g4f/Provider/openai/har_file.py
index c1b3b9f1..da25b637 100644
--- a/g4f/Provider/openai/har_file.py
+++ b/g4f/Provider/openai/har_file.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
import base64
import json
import os