summaryrefslogtreecommitdiffstats
path: root/etc/tool/improve_code.py
diff options
context:
space:
mode:
Diffstat (limited to 'etc/tool/improve_code.py')
-rw-r--r--etc/tool/improve_code.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/tool/improve_code.py b/etc/tool/improve_code.py
index b2e36f86..8578b478 100644
--- a/etc/tool/improve_code.py
+++ b/etc/tool/improve_code.py
@@ -30,7 +30,7 @@ Don't remove license comments.
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
@@ -42,4 +42,4 @@ response = "".join(response)
if code := read_code(response):
with open(path, "w") as file:
- file.write(code) \ No newline at end of file
+ file.write(code)