Fix: unexpected parameter.

This commit is contained in:
Kevin Hu 2025-11-25 10:01:33 +08:00
parent d1744aaaf3
commit 2654847c8d

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)