mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user