mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-04 08:28:36 +00:00
fix(heartbeat): rewrite prompt to execute tasks instead of reporting
This commit is contained in:
parent
45d1caba1d
commit
053722a2a2
@ -1595,7 +1595,7 @@ def _run_gateway(
|
||||
|
||||
prompt = (
|
||||
_HEARTBEAT_PREAMBLE
|
||||
+ f"Review the following HEARTBEAT.md and report any active tasks:\n\n{content}"
|
||||
+ f"You are executing periodic heartbeat tasks. Read the active tasks below, perform each one, and report what you did:\n\n{content}"
|
||||
)
|
||||
|
||||
# Internal check: funnel all output through the post-run gate so the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user