1 parent 61e80f3 commit 63ffd4eCopy full SHA for 63ffd4e
1 file changed
python_agent_harness/tools/base.py
@@ -91,6 +91,11 @@ def cancel_event(self) -> Any:
91
class Tool(ABC):
92
name: str = ""
93
description: str = ""
94
+ # True for tools that only read state (Read, Glob, Grep, Skill):
95
+ # when EVERY call in a round is readonly, the runner dispatches
96
+ # them concurrently via a thread pool instead of one-at-a-time,
97
+ # since none can depend on another's side effects.
98
+ is_readonly: bool = False
99
# NB: Tool is an ABC, not a dataclass, so this is a plain class-level
100
# default (never mutated in place — every concrete tool overrides it
101
# with its own schema). It must be a real dict: a dataclasses.field()
0 commit comments