Unified Diff • AI Agent SDK
unified_diff: Render a unified before/after diff for previewing the change.
unified_diff
Method
</div>
This is a method of the ConfigDiff class in the doctor_protocol module.
Render a unified before/after diff for previewing the change.
Signature
def unified_diff() -> strReturns
ResponseField
strThe result of the operation.
Uses
splitlinesjson.dumpsdifflib.unified_diff
Used By
Source
View on GitHubpraisonaiagents/runtime/doctor_protocol.py at line 32