summaryrefslogtreecommitdiffstats
path: root/etc/tool/create_provider.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-09-07 21:37:24 +0200
committerGitHub <noreply@github.com>2024-09-07 21:37:24 +0200
commit07fa87b4d180259d1da86afb565e14ac3d60d50b (patch)
treed474a2bf8bd79cf94bfa48cbaca3917659dd19be /etc/tool/create_provider.py
parentMerge pull request #2206 from Parthsadaria/patch-1 (diff)
parentg4f/models.py g4f/Provider/MagickPen.py (diff)
downloadgpt4free-0.3.2.6.tar
gpt4free-0.3.2.6.tar.gz
gpt4free-0.3.2.6.tar.bz2
gpt4free-0.3.2.6.tar.lz
gpt4free-0.3.2.6.tar.xz
gpt4free-0.3.2.6.tar.zst
gpt4free-0.3.2.6.zip
Diffstat (limited to 'etc/tool/create_provider.py')
-rw-r--r--etc/tool/create_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tool/create_provider.py b/etc/tool/create_provider.py
index ff04f961..797089cd 100644
--- a/etc/tool/create_provider.py
+++ b/etc/tool/create_provider.py
@@ -90,7 +90,7 @@ And replace "gpt-3.5-turbo" with `model`.
print("Create code...")
response = []
for chunk in g4f.ChatCompletion.create(
- model=g4f.models.gpt_35_long,
+ model=g4f.models.default,
messages=[{"role": "user", "content": prompt}],
timeout=300,
stream=True,