mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-07-09 12:07:18 +00:00
Polish mobile UI and editor workflows
This commit is contained in:
@@ -82,3 +82,14 @@ def test_suggest_document_skips_non_object_suggestion_items():
|
||||
assert block.content == (
|
||||
"<<<FIND>>>\nold\n<<<SUGGEST>>>\nnew\n<<<REASON>>>\nclearer\n<<<END>>>"
|
||||
)
|
||||
|
||||
|
||||
def test_ui_control_open_email_reply_preserves_structured_body():
|
||||
block = function_call_to_tool_block(
|
||||
"ui_control",
|
||||
'{"action":"open_email_reply","uid":"3228","folder":"INBOX","mode":"reply","body":"Hi Andy,\\n\\nNo thank you.\\n\\nBest,"}',
|
||||
)
|
||||
|
||||
assert block is not None
|
||||
assert block.tool_type == "ui_control"
|
||||
assert block.content == "open_email_reply 3228 INBOX reply Hi Andy,\n\nNo thank you.\n\nBest,"
|
||||
|
||||
Reference in New Issue
Block a user