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

Method stream

helpers/log.py:184–197  ·  view source on GitHub ↗
(
        self,
        heading: str | None = None,
        content: str | None = None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

182 )
183
184 def stream(
185 self,
186 heading: str | None = None,
187 content: str | None = None,
188 **kwargs,
189 ):
190 if heading is not None:
191 self.update(heading=self.heading + heading)
192 if content is not None:
193 self.update(content=self.content + content)
194
195 for k, v in kwargs.items():
196 prev = self.kvps.get(k, "") if self.kvps else ""
197 self.update(**{k: prev + v})
198
199 def output(self):
200 return {

Callers 15

reasoning_callbackMethod · 0.45
stream_callbackMethod · 0.45
before_executionMethod · 0.45
before_executionMethod · 0.45
stream_cbFunction · 0.45
log_callbackFunction · 0.45
initializeMethod · 0.45
load_knowledgeFunction · 0.45
memorizeMethod · 0.45
memorizeMethod · 0.45
get_terminal_outputMethod · 0.45
executeMethod · 0.45

Calls 2

updateMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected