Fixed auto approver and inference continuation
This commit is contained in:
@@ -178,7 +178,5 @@ class AutoApprover:
|
||||
def _response_approval_thread(self) -> None:
|
||||
if self._stop_event.wait(self._response_timeout):
|
||||
return
|
||||
if (self._response_enabled and
|
||||
self.agent.llms[self._llm_name] == LlmState.IDLE):
|
||||
response = self.agent.response_buffer.get_text()
|
||||
if self._response_enabled:
|
||||
self.agent.approve_response()
|
||||
|
||||
Reference in New Issue
Block a user