test(backend): 更新后端测试文件
This commit is contained in:
@@ -355,7 +355,7 @@ async def test_get_history_snapshot_filters_out_tool_messages() -> None:
|
||||
"content": "今天共有 3 条日程。",
|
||||
"metadata": {
|
||||
"run_id": "run-1",
|
||||
"worker_agent_output": {
|
||||
"agent_output": {
|
||||
"status": "success",
|
||||
"answer": "今天共有 3 条日程。",
|
||||
"key_points": [],
|
||||
|
||||
@@ -34,9 +34,7 @@ def test_convert_message_to_history_uses_ui_schema_key_for_assistant_message() -
|
||||
message = _FakeMessage(
|
||||
role="assistant",
|
||||
metadata={
|
||||
"worker_agent_output": {
|
||||
"ui_schema": {"version": "2.0", "root": {"type": "stack"}}
|
||||
}
|
||||
"agent_output": {"ui_schema": {"version": "2.0", "root": {"type": "stack"}}}
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user