summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/DfeHub.py
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner.lohaus@netformic.com>2023-08-22 23:27:34 +0200
committerHeiner Lohaus <heiner.lohaus@netformic.com>2023-08-22 23:27:34 +0200
commit98d3304108de3e55c18f2af8a66a501541ec658b (patch)
treea2d80ab0c39ec93ebb97967a9f5a32f0c662c99e /g4f/Provider/DfeHub.py
parent ~ | Merge pull request #829 (diff)
downloadgpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar
gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.gz
gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.bz2
gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.lz
gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.xz
gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.tar.zst
gpt4free-98d3304108de3e55c18f2af8a66a501541ec658b.zip
Diffstat (limited to 'g4f/Provider/DfeHub.py')
-rw-r--r--g4f/Provider/DfeHub.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/Provider/DfeHub.py b/g4f/Provider/DfeHub.py
index 4093d0e4..5a7b22e1 100644
--- a/g4f/Provider/DfeHub.py
+++ b/g4f/Provider/DfeHub.py
@@ -50,6 +50,7 @@ class DfeHub(BaseProvider):
"https://chat.dfehub.com/api/openai/v1/chat/completions",
headers=headers,
json=json_data,
+ timeout=3
)
for chunk in response.iter_lines():