gpt_engineer.core.chat_to_files.parse_diffs

gpt_engineer.core.chat_to_files.parse_diffs(diff_string: str, diff_timeout=3) dict[source]

Parses a diff string in the unified git diff format.

Args: - diff_string (str): The diff string to parse.

Returns: - dict: A dictionary of Diff objects keyed by filename.