test(backend): 更新后端测试文件

This commit is contained in:
zl-q
2026-03-19 00:52:12 +08:00
parent 522b53c993
commit caf9304064
7 changed files with 48 additions and 438 deletions
+1 -3
View File
@@ -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"}}}
},
)