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

Method reset

camel/agents/chat_agent.py:400–405  ·  view source on GitHub ↗

r"""Resets the :obj:`ChatAgent` to its initial state.

(self)

Source from the content-addressed store, hash-verified

398 return None
399
400 def reset(self):
401 r"""Resets the :obj:`ChatAgent` to its initial state."""
402 self.terminated = False
403 self.init_messages()
404 for terminator in self.response_terminators:
405 terminator.reset()
406
407 @property
408 def system_message(self) -> Optional[BaseMessage]:

Callers 14

eval_qa_get_answerFunction · 0.95
gen_eval_markdownFunction · 0.95
no_tree_get_layoutFunction · 0.95
text_to_personaMethod · 0.95
persona_to_personaMethod · 0.95
gen_poster_title_contentFunction · 0.95
_process_sectionFunction · 0.95
filter_image_tableFunction · 0.95
gen_outline_layout_v2Function · 0.95
gen_outline_layoutFunction · 0.95
poster_apply_themeFunction · 0.95
deoverflowFunction · 0.95

Calls 1

init_messagesMethod · 0.95

Tested by

no test coverage detected