Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/test_lark_native_reply_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ def test_native_reply_retains_exact_reference_and_original_authority(ordinary, g
requests = [json.loads(line) for line in ordinary[4].read_text().splitlines()]
native_input = next(request["params"]["input"] for request in requests if request["method"] == "turn/start")
assert "local reading preview" in json.dumps(native_input)
assert "Current user message: Approved" in json.dumps(native_input)
# The original operator material reaches the model verbatim, including
# its own line breaks; the prompt is no longer whitespace-collapsed.
native_text = "".join(block.get("text", "") for block in native_input)
assert "Current user message:\nApproved" in native_text
# The source and eventual return remain the same canonical conversation.
transport.reconcile()
assert all(profile == "notes-app" for profile, _ in provider.writes)
Expand Down
Loading