Fix: unexpected parameter. (#11497)
### What problem does this PR solve? #11489 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
6987e9f23b
commit
bcd70affb5
1 changed files with 1 additions and 2 deletions
|
|
@ -200,8 +200,7 @@ class GptV4(Base):
|
||||||
res = self.client.chat.completions.create(
|
res = self.client.chat.completions.create(
|
||||||
model=self.model_name,
|
model=self.model_name,
|
||||||
messages=self.prompt(b64),
|
messages=self.prompt(b64),
|
||||||
extra_body=self.extra_body,
|
extra_body=self.extra_body
|
||||||
unused=None,
|
|
||||||
)
|
)
|
||||||
return res.choices[0].message.content.strip(), total_token_count_from_response(res)
|
return res.choices[0].message.content.strip(), total_token_count_from_response(res)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue