github-actions[bot] commited on
Commit
55f0ab5
·
1 Parent(s): 8be39c6

Auto-deploy from GitHub: 0305f6f32c5e140879262734d8ef8418975d6ad4

Browse files
Files changed (1) hide show
  1. app/services/worker.py +2 -2
app/services/worker.py CHANGED
@@ -172,11 +172,11 @@ async def _run_opencode(system_prompt: str, text: str) -> str:
172
  _read_stream(proc.stdout, stdout_lines, "stdout"),
173
  _read_stream(proc.stderr, stderr_lines, "stderr"),
174
  ),
175
- timeout=120
176
  )
177
  except asyncio.TimeoutError:
178
  proc.kill()
179
- raise TimeoutError("opencode timed out after 120s")
180
 
181
  await proc.wait()
182
 
 
172
  _read_stream(proc.stdout, stdout_lines, "stdout"),
173
  _read_stream(proc.stderr, stderr_lines, "stderr"),
174
  ),
175
+ timeout=300
176
  )
177
  except asyncio.TimeoutError:
178
  proc.kill()
179
+ raise TimeoutError("opencode timed out after 300s")
180
 
181
  await proc.wait()
182