Skip to content

Commit a7de04d

Browse files
committed
types hotfix
1 parent d6df723 commit a7de04d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hud/types.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ def cls(self) -> type:
5757
class BaseAgentConfig(BaseModel):
5858
"""Agent configuration for LLM-specific settings.
5959
60-
Note: allowed_tools, disallowed_tools, append_setup_output, and initial_screenshot
61-
are kept for backwards compatibility with v4 task configs but are no longer applied
62-
at the agent level. These should be configured on the Environment/Task instead.
60+
Note: allowed_tools, disallowed_tools, response_tool_name, append_setup_output,
61+
and initial_screenshot are kept for backwards compatibility with v4 task configs
62+
but are no longer applied at the agent level. These should be configured on the
63+
Environment/Task instead.
6364
"""
6465

6566
model_config = ConfigDict(arbitrary_types_allowed=True, extra="forbid", populate_by_name=True)
@@ -76,6 +77,7 @@ class BaseAgentConfig(BaseModel):
7677
# Deprecated: kept for backwards compat with v4 task configs, not applied by agent
7778
allowed_tools: list[str] | None = None
7879
disallowed_tools: list[str] | None = None
80+
response_tool_name: str | None = None
7981
append_setup_output: bool = True
8082
append_setup_tool: bool = True # Alias for append_setup_output (backwards compat)
8183
initial_screenshot: bool = True

0 commit comments

Comments
 (0)