MCPcopy Create free account
hub / github.com/agent0ai/agent-zero / hist_add_warning

Method hist_add_warning

agent.py:780–782  ·  view source on GitHub ↗
(self, message: history.MessageContent, id: str = "")

Source from the content-addressed store, hash-verified

778
779 @extension.extensible
780 def hist_add_warning(self, message: history.MessageContent, id: str = ""):
781 content = self.parse_prompt("fw.warning.md", message=message)
782 return self.hist_add_message(False, content=content, id=id)
783
784 @extension.extensible
785 def hist_add_tool_result(self, tool_name: str, tool_result: str, **kwargs):

Callers 5

monologueMethod · 0.95
_execute_tool_requestMethod · 0.95
process_toolsMethod · 0.95
executeMethod · 0.45
executeMethod · 0.45

Calls 2

parse_promptMethod · 0.95
hist_add_messageMethod · 0.95

Tested by

no test coverage detected