Feat/chat message image first for agent and advanced_chat APP (#23796)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
jiangbo721
2025-08-22 16:42:15 +08:00
committed by GitHub
parent cfcfc3c1fd
commit 805b698c2e
6 changed files with 17 additions and 15 deletions

View File

@@ -164,7 +164,7 @@ def test__get_chat_model_prompt_messages_with_files_no_memory(get_chat_model_arg
)
assert isinstance(prompt_messages[3].content, list)
assert len(prompt_messages[3].content) == 2
assert prompt_messages[3].content[1].data == files[0].remote_url
assert prompt_messages[3].content[0].data == files[0].remote_url
@pytest.fixture