- Added a new field to track the current message type (text, thinking, tool_call) in the streamState struct. - Updated message handling methods to set the current message type appropriately. - Modified the group end handling to use the tracked message type when sending messages, ensuring accurate type representation. - Enhanced unit tests to verify the correct handling of group end events and their associated types. |
||
|---|---|---|
| .. | ||
| stream.go | ||