mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
refactor(provider): use default model in code generation
This commit is contained in:
parent
207d4e12c3
commit
fbfe7bfcb7
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue