From bcd70affb5bbe7331600d606b34cfe9509fb3da8 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Tue, 25 Nov 2025 11:17:27 +0800 Subject: [PATCH] Fix: unexpected parameter. (#11497) ### What problem does this PR solve? #11489 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- rag/llm/cv_model.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rag/llm/cv_model.py b/rag/llm/cv_model.py index 7d2e7f228..c4ae8401a 100644 --- a/rag/llm/cv_model.py +++ b/rag/llm/cv_model.py @@ -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)