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:
Kevin Hu
2025-11-25 11:17:27 +08:00
committed by GitHub
parent 6987e9f23b
commit bcd70affb5

View File

@ -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)