diff --git a/server.js b/server.js index 8a9aa68..920e2c5 100644 --- a/server.js +++ b/server.js @@ -17,7 +17,7 @@ app.post('/prompt', (req, res)=>{ console.log(req.body.content); const result = execSync( `cd /home/matt/pathfinder && claude -p "${req.body.content}" ${resumeFlag} --output-format json --allowedTools "Bash(*)" "Read(*)" "Write(*)" "Edit(*)"`, - { encoding: 'utf-8', timeout: 120000 } + { encoding: 'utf-8', timeout: 1200000 } ); fs.writeFileSync('.env', `SESSIONID="${JSON.parse(result).session_id}"`, 'utf8'); res.json(JSON.parse(result))