Skip to content

Commit acad5fa

Browse files
committed
restore timeout to avoid conflicts
1 parent 1401ba7 commit acad5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpt_engineer/core/chat_to_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def parse_diffs(diff_string: str) -> dict:
138138

139139
diffs = {}
140140
try:
141-
for block in diff_block_pattern.finditer(diff_string):
141+
for block in diff_block_pattern.finditer(diff_string, timeout=1):
142142
diff_block = block.group()
143143

144144
# Parse individual diff blocks and update the diffs dictionary

0 commit comments

Comments
 (0)