MCPcopy Create free account
hub / github.com/InternScience/SciReason / set_history

Method set_history

opencompass/models/lagent.py:42–43  ·  view source on GitHub ↗
(self, history)

Source from the content-addressed store, hash-verified

40 action.reset()
41
42 def set_history(self, history):
43 self.agent._session_history = deepcopy(history)
44
45 def gt_response(self, prompt):
46 if 'CIReAct' in str(self.agent.__class__):

Callers 2

infer_lastMethod · 0.80
infer_every_with_gtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected