mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 04:40:45 +08:00
Prefer batch CLI in playbooks, cap tool persistence, and steer getManagedNe failures.
Default scheduled CLI steps to ne_ids/ume_ne_ids batch, compact oversized tool chat_message/tool_log after turns, and on getManagedNe miss guide agents to listManagedNe/UME paths instead of blind retries. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
ae70d4b89a
commit
e2fc72607e
16 changed files with 373 additions and 61 deletions
|
|
@ -184,6 +184,10 @@ class _McpBoundTool:
|
|||
from runtime.tools.tool_error_hints import enrich_exec_managed_ne_error
|
||||
|
||||
res = enrich_exec_managed_ne_error(res)
|
||||
if tool_name == "getManagedNe" and res.get("ok") is False:
|
||||
from runtime.tools.tool_error_hints import enrich_get_managed_ne_error
|
||||
|
||||
res = enrich_get_managed_ne_error(res)
|
||||
return res
|
||||
|
||||
return ToolSpec(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue