2 Star 1 Fork 0

zackzhangkai/OpenManus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.py 549 Bytes
一键复制 编辑 原始数据 按行查看 历史
liangxinbing 提交于 2025-03-12 13:16 +08:00 . remove the cycle
import asyncio
from app.agent.manus import Manus
from app.logger import logger
async def main():
agent = Manus()
try:
prompt = input("Enter your prompt: ")
if not prompt.strip():
logger.warning("Empty prompt provided.")
return
logger.warning("Processing your request...")
await agent.run(prompt)
logger.info("Request processing completed.")
except KeyboardInterrupt:
logger.warning("Operation interrupted.")
if __name__ == "__main__":
asyncio.run(main())
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zackzhangkai/OpenManus.git
git@gitee.com:zackzhangkai/OpenManus.git
zackzhangkai
OpenManus
OpenManus
chart-visualization

搜索帮助