Update str_replace_editor tool to use dynamic workspace path from SANDBOX_VOLUMES (#10965)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Boxuan Li
2025-09-15 17:46:54 -07:00
committed by GitHub
parent d3f3378a4c
commit 0f1780728e
6 changed files with 279 additions and 2 deletions

View File

@@ -212,6 +212,8 @@ class WebSession:
# TODO: override other LLM config & agent config groups (#2075)
agent_config = self.config.get_agent_config(agent_cls)
# Pass runtime information to agent config for runtime-specific tool behavior
agent_config.runtime = self.config.runtime
agent_name = agent_cls if agent_cls is not None else 'agent'
llm_config = self.config.get_llm_config_from_agent(agent_name)
if settings.enable_default_condenser: