Commit Graph

6 Commits

Author SHA1 Message Date
Johan Holm e86ce6d79f I have implemented a fix to asyncio resource leak errors when the script finishes. A cleanup method has been added to the agent hierarchy (ToolCallAgent, BrowserAgent, Manus), and main.py now ensures this cleanup is called using a try...finally block before the program exits. This should prevent the ValueError: I/O operation on closed pipe exceptions by properly closing browser resources. 2025-03-26 11:08:51 +01:00
liangxinbing af8023de43 remove the cycle 2025-03-12 13:16:05 +08:00
gantnocap 85bd75d236 feat: improve input handling
- Add support for 'quit' command alongside 'exit'

- Update input prompt to show both exit options

- Enhance empty input handling to catch both empty strings and whitespace

- Replace isspace() check with more robust empty string validation

- Optimize command checking by storing lowercase result

- Improve code readability and user experience
2025-03-09 13:11:44 +08:00
liangxinbing 56d138220a fix typo in README;
log full arguments on parse json err;
remove empty prompt for main.py and run_flow.py;
2025-03-08 17:17:40 +08:00
xiangjinyu 192bbeb196 add main.py 2025-03-06 23:14:03 +08:00
liangxinbing d028e64a98 init project 2025-03-06 22:57:07 +08:00