mirror of
https://github.com/usestrix/strix.git
synced 2026-09-06 08:15:56 +00:00
fix(agent): increase waiting time threshold from 120 to 600 seconds
This commit is contained in:
parent
1f9420a9e0
commit
0d21f586e6
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class AgentState(BaseModel):
|
|||
return False
|
||||
|
||||
elapsed = (datetime.now(UTC) - self.waiting_start_time).total_seconds()
|
||||
return elapsed > 120
|
||||
return elapsed > 600
|
||||
|
||||
def has_empty_last_messages(self, count: int = 3) -> bool:
|
||||
if len(self.messages) < count:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue