mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
fix: fetch context error in llm node (#6562)
This commit is contained in:
1 parent
0569c547ee
commit
6b5fac3004
1 file changed
+1
-1
@@ -364,7 +364,7 @@ class LLMNode(BaseNode):
|
||||
if 'content' not in item:
|
||||
raise ValueError(f'Invalid context structure: {item}')
|
||||
|
||||
context_str += item['content'] + '\n'
|
||||
context_str += item['content'].text + '\n'
|
||||
|
||||
retriever_resource = self._convert_to_original_retriever_resource(item)
|
||||
if retriever_resource:
|
||||
|
||||
Reference in new issue
Block a user