The event handler was emitting [[[end]]] to close an assistant block without first closing an open streaming fence (code block). This left the log in a state where a [[[call:...]]] block appeared nested inside an unclosed assistant block, triggering a log structure violation. Now the call and default cases close streamingFence (like the tool case already did) before writing the [[[end]]] marker. |
||
|---|---|---|
| .. | ||
| cache.go | ||
| ctl.go | ||
| handlers.go | ||
| lifecycle.go | ||
| log_validator.go | ||
| log_validator_test.go | ||
| newroot.go | ||
| spec.go | ||
| types.go | ||