Fixed stdout

This commit is contained in:
2024-11-11 13:51:27 +01:00
parent 0e1a0407d0
commit 3a1d8a449c
5 changed files with 36 additions and 4 deletions

View File

@@ -153,8 +153,9 @@ class WebAgent(BaseAgent):
for token in response_token_iter:
response += token
self._set_response(response)
print(f"{token}")
print(f"{token}", end='')
self._set_state(WebAgentState.RESPONSE_APPROVAL)
print()
def _approve_response_thread(self) -> None:
parse_result = self._parser.parse(self._response)