mirror of
https://github.com/langgenius/dify.git
synced 2026-03-03 06:46:19 +08:00
fix: Fixed the adaptation issue of response formats for different mod… (#32326)
This commit is contained in:
@ -469,7 +469,7 @@ class ParagraphIndexProcessor(BaseIndexProcessor):
|
||||
if not isinstance(result, LLMResult):
|
||||
raise ValueError("Expected LLMResult when stream=False")
|
||||
|
||||
summary_content = getattr(result.message, "content", "")
|
||||
summary_content = result.message.get_text_content()
|
||||
usage = result.usage
|
||||
|
||||
# Deduct quota for summary generation (same as workflow nodes)
|
||||
|
||||
Reference in New Issue
Block a user