mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 04:39:55 +08:00
fix(api/core/workflow/nodes/llm/llm_node.py): Fix LLM Node error. (#6576)
This commit is contained in:
parent
c0ada940bd
commit
ad7552ea8d
@ -364,7 +364,7 @@ class LLMNode(BaseNode):
|
||||
if 'content' not in item:
|
||||
raise ValueError(f'Invalid context structure: {item}')
|
||||
|
||||
context_str += item['content'].text + '\n'
|
||||
context_str += item['content'] + '\n'
|
||||
|
||||
retriever_resource = self._convert_to_original_retriever_resource(item)
|
||||
if retriever_resource:
|
||||
|
Loading…
x
Reference in New Issue
Block a user