MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / predict_single

Method predict_single

AgentBench.old/src/tasks/example_task.py:29–30  ·  view source on GitHub ↗
(self, session: Session, data_item: str)

Source from the content-addressed store, hash-verified

27 return data
28
29 def predict_single(self, session: Session, data_item: str) -> str:
30 return session.action({"role": "user", "content": data_item})

Callers

nothing calls this directly

Calls 1

actionMethod · 0.80

Tested by

no test coverage detected