Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion agentscore_commerce/challenge/body.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def build_402_body(
if agent_memory is not None:
# AgentMemoryHint is a dataclass; merchants pass it directly via
# first_encounter_agent_memory(...). Convert here so JSONResponse /
# json.dumps can serialise without per-merchant boilerplate.
# json.dumps can serialize without per-merchant boilerplate.
body["agent_memory"] = (
asdict(agent_memory) if is_dataclass(agent_memory) and not isinstance(agent_memory, type) else agent_memory
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class _Verified:

async def settle_payment(self, _payload: Any, _requirement: Any) -> Any:
# ProcessX402Settle treats a falsy success as a settle_failed phase via the
# exception raised by settle_result_to_json_bytes when it tries to serialise
# exception raised by settle_result_to_json_bytes when it tries to serialize
# an empty dict, so we shape the response as a plain JSON-serializable dict.
if not self.settle_success:
raise RuntimeError("settle rejected")
Expand Down
Loading