update logo and format code
This commit is contained in:
parent
38bb658031
commit
915aed17d1
@ -4,7 +4,7 @@ English | [简体中文](README_zh.md)
|
||||
<a href="https://discord.gg/6dn7Sa3a"><img src="https://dcbadge.vercel.app/api/server/DYn29wFk9z?style=flat" alt="Discord Follow"></a>
|
||||
</p>
|
||||
|
||||
# OpenManus 👋
|
||||
# 👋 OpenManus
|
||||
|
||||
Manus is incredible, but OpenManus can achieve any ideas without an Invite Code 🛫!
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<a href="https://discord.gg/6dn7Sa3a"><img src="https://dcbadge.vercel.app/api/server/DYn29wFk9z?style=flat" alt="Discord Follow"></a>
|
||||
</p>
|
||||
|
||||
# OpenManus 👋
|
||||
# 👋 OpenManus
|
||||
|
||||
Manus 非常棒,但 OpenManus 无需邀请码即可实现任何创意 🛫!
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
# Examples
|
||||
We put some examples in the `examples` directory. All the examples use the same prompt as [Manus](https://manus.im/?utm_source=ai-bot.cn).
|
||||
|
||||
We put some examples in the `examples` directory. All the examples use the same prompt
|
||||
as [Manus](https://manus.im/?utm_source=ai-bot.cn).
|
||||
|
||||
The Model we use is `claude3.5`.
|
||||
|
||||
|
@ -32,14 +32,16 @@ async def run_flow():
|
||||
start_time = time.time()
|
||||
result = await asyncio.wait_for(
|
||||
flow.execute(prompt),
|
||||
timeout=3600 # 60 minute timeout for the entire execution
|
||||
timeout=3600, # 60 minute timeout for the entire execution
|
||||
)
|
||||
elapsed_time = time.time() - start_time
|
||||
logger.info(f"Request processed in {elapsed_time:.2f} seconds")
|
||||
logger.info(result)
|
||||
except asyncio.TimeoutError:
|
||||
logger.error("Request processing timed out after 1 hour")
|
||||
logger.info("Operation terminated due to timeout. Please try a simpler request.")
|
||||
logger.info(
|
||||
"Operation terminated due to timeout. Please try a simpler request."
|
||||
)
|
||||
|
||||
except KeyboardInterrupt:
|
||||
logger.info("Operation cancelled by user.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user