Fix: unexpected parameter.
This commit is contained in:
parent
d1744aaaf3
commit
2654847c8d
1 changed files with 1 additions and 2 deletions
|
|
@ -200,8 +200,7 @@ class GptV4(Base):
|
|||
res = self.client.chat.completions.create(
|
||||
model=self.model_name,
|
||||
messages=self.prompt(b64),
|
||||
extra_body=self.extra_body,
|
||||
unused=None,
|
||||
extra_body=self.extra_body
|
||||
)
|
||||
return res.choices[0].message.content.strip(), total_token_count_from_response(res)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue