Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentTuning
/ forward
Method
forward
eval_heldout/hotpotQA/src/agent_arch.py:325–327 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
323
)
324
325
def
forward(self):
326
action_type, argument = self._action()
327
return
action_type, argument
328
329
def
_build_agent_prompt(self) -> str:
330
prompt = self.agent_prompt.format(
Callers
nothing calls this directly
Calls
1
_action
Method · 0.80
Tested by
no test coverage detected