Handed back to the model
These never raise; the model reads them and adapts:
A failing summarizer does not fail the run either: the sliding window takes over for that compaction.
Reported in the response
Check it before using
content, and check parsed for None when you asked for a structured answer.
Raised
GwenflowException is the base class of the library’s own exceptions (gwenflow.exceptions).
Logging
Gwenflow logs through the standardlogging module, under the logger gwenlake.gwenflow: tool calls and their errors, sub-agents, compactions, flow nodes, retries.
logging.getLogger("gwenlake.gwenflow").setLevel(logging.DEBUG).
For production, prefer telemetry: every model call, tool call and flow node becomes a span with its inputs, outputs, status and timing.