mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: uv lock updates (#11511)
### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -283,6 +283,8 @@ class QWenCV(GptV4):
|
|||||||
model=self.model_name,
|
model=self.model_name,
|
||||||
messages=messages,
|
messages=messages,
|
||||||
)
|
)
|
||||||
|
if response.get("message"):
|
||||||
|
raise Exception(response["message"])
|
||||||
summary = response["output"]["choices"][0]["message"].content[0]["text"]
|
summary = response["output"]["choices"][0]["message"].content[0]["text"]
|
||||||
return summary, num_tokens_from_string(summary)
|
return summary, num_tokens_from_string(summary)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user