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

Method reset

camel/societies/workforce/base.py:35–38  ·  view source on GitHub ↗

r"""Resets the node to its initial state.

(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

33
34 @check_if_running(False)
35 def reset(self, *args: Any, **kwargs: Any) -> Any:
36 r"""Resets the node to its initial state."""
37 self._channel = TaskChannel()
38 self._running = False
39
40 @abstractmethod
41 def set_channel(self, channel: TaskChannel):

Callers 2

init_chatMethod · 0.45
init_agentsMethod · 0.45

Calls 1

TaskChannelClass · 0.90

Tested by

no test coverage detected