From fbfe7bfcb7660a7fd0328963ecbee95069cadcfc Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Fri, 6 Sep 2024 17:44:31 +0300 Subject: refactor(provider): use default model in code generation --- etc/tool/create_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3