Don't set streamingRole='reasoning' when processing reasoning_think events. Since no [[[reasoning]]] header is written to the log, the role-transition logic would emit a double [[[end]]] when the next role (assistant) fires. Also suppress streamingRole for the tool role's reasoning_think name check. |
||
|---|---|---|
| .. | ||
| create.go | ||
| files.go | ||
| format.go | ||
| fs.go | ||
| fs_test.go | ||
| perm.go | ||
| persist.go | ||
| root.go | ||
| session.go | ||
| synth.go | ||
| tree.go | ||
| types.go | ||