mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
[GAIA] Add prompt improvement to alleviate solution parsing issue & support Tavily search tools (#9057)
This commit is contained in:
@@ -158,7 +158,7 @@ class AgentSession:
|
||||
# NOTE: this needs to happen before controller is created
|
||||
# so MCP tools can be included into the SystemMessageAction
|
||||
if self.runtime and runtime_connected and agent.config.enable_mcp:
|
||||
await add_mcp_tools_to_agent(agent, self.runtime, self.memory, config)
|
||||
await add_mcp_tools_to_agent(agent, self.runtime, self.memory)
|
||||
|
||||
if replay_json:
|
||||
initial_message = self._run_replay(
|
||||
|
||||
Reference in New Issue
Block a user