mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 19:49:04 +08:00
fix: fetch context error in llm node (#6562)
This commit is contained in:
parent
0569c547ee
commit
6b5fac3004
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user