feat(tools): tighten patch and session workflows
This commit is contained in:
1 parent
480ca28a2d
commit
5f0ba05de5
6 files changed
+322
-29
No files matched your search
@@ -219,6 +219,8 @@ def _resolve_apply_patch_paths(
|
||||
patch = params.get("patch")
|
||||
if not isinstance(patch, str) or not patch.strip():
|
||||
return []
|
||||
if params.get("dry_run") is True:
|
||||
return []
|
||||
try:
|
||||
from nanobot.agent.tools.apply_patch import _parse_patch
|
||||
|
||||
|
||||
Reference in new issue
Block a user