MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / reset

Method reset

camel/tasks/task.py:118–121  ·  view source on GitHub ↗

r"""Reset Task to initial state.

(self)

Source from the content-addressed store, hash-verified

116 pass
117
118 def reset(self):
119 r"""Reset Task to initial state."""
120 self.state = TaskState.OPEN
121 self.result = ""
122
123 def update_result(self, result: str):
124 r"""Set task result and mark the task as DONE.

Callers 8

run_code_from_agentFunction · 0.45
edit_modularFunction · 0.45
fill_contentFunction · 0.45
gen_layoutFunction · 0.45
gen_layout_parallelFunction · 0.45
process_leaf_sectionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected