Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentTuning
/ __reset_agent
Method
__reset_agent
eval_heldout/hotpotQA/src/agent_arch.py:160–163 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
158
) and not self.finished
159
160
def
__reset_agent(self) -> None:
161
self.step_n = 1
162
self.finished = False
163
self.scratchpad: str =
''
164
165
def
set_qa(self, question: str, key: str) -> None:
166
self.question = question
Callers
2
__init__
Method · 0.95
run
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected