summaryrefslogtreecommitdiffstats
path: root/etc/tool/create_provider.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-06 16:44:31 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-06 16:44:31 +0200
commitfbfe7bfcb7660a7fd0328963ecbee95069cadcfc (patch)
tree21ab0d73cfd409e6e1d83c1b5dcdbdfae5be08d8 /etc/tool/create_provider.py
parentrefactor(test): simplify model test cases to core options (diff)
downloadgpt4free-fbfe7bfcb7660a7fd0328963ecbee95069cadcfc.tar
gpt4free-fbfe7bfcb7660a7fd0328963ecbee95069cadcfc.tar.gz
gpt4free-fbfe7bfcb7660a7fd0328963ecbee95069cadcfc.tar.bz2
gpt4free-fbfe7bfcb7660a7fd0328963ecbee95069cadcfc.tar.lz
gpt4free-fbfe7bfcb7660a7fd0328963ecbee95069cadcfc.tar.xz
gpt4free-fbfe7bfcb7660a7fd0328963ecbee95069cadcfc.tar.zst
gpt4free-fbfe7bfcb7660a7fd0328963ecbee95069cadcfc.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,