MCPcopy Create free account
hub / github.com/OpenBMB/ChatDev / TextEdit

Class TextEdit

functions/function_calling/file.py:530–535  ·  view source on GitHub ↗

Normalized representation of a single line edit.

Source from the content-addressed store, hash-verified

528
529@dataclass(frozen=True)
530class TextEdit:
531 """Normalized representation of a single line edit."""
532
533 start_line: int
534 end_line: int
535 replacement_lines: List[str]
536
537
538def apply_text_edits(

Callers 1

_normalize_editsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected