Skip to content

Commit 4fb2edc

Browse files
fix: Fix the wrong image url in the execution details of the Image understand node
1 parent 55d1590 commit 4fb2edc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/application/flow/step_node/image_understand_step_node/impl/base_image_understand_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def generate_history_human_message(self, chat_record):
256256
*[{'type': 'image_url',
257257
'image_url': {'url': f'data:image/{base64_image[1]};base64,{base64_image[0]}'}} for
258258
base64_image in image_base64_list],
259-
*[{'type': 'image_url', 'image_url': url} for url in url_list]
259+
*[{'type': 'image_url', 'image_url': {'url': url}} for url in url_list]
260260
])
261261
return HumanMessage(content=chat_record.problem_text)
262262

0 commit comments

Comments
 (0)