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

Function stream_cb

plugins/_chat_compaction/helpers/compactor.py:187–189  ·  view source on GitHub ↗
(chunk: str, total: str)

Source from the content-addressed store, hash-verified

185 user_prompt = agent.read_prompt("compact.msg.md", conversation=full_text)
186
187 async def stream_cb(chunk: str, total: str):
188 if chunk:
189 log_item.stream(content=chunk)
190
191 summary, _ = await model.unified_call(
192 system_message=system_prompt,

Callers

nothing calls this directly

Calls 1

streamMethod · 0.45

Tested by

no test coverage detected