Skip to content

Enhance streaming message handling in DefaultStreamHandler#1322

Merged
trheyi merged 1 commit intoYaoApp:mainfrom
trheyi:main
Nov 17, 2025
Merged

Enhance streaming message handling in DefaultStreamHandler#1322
trheyi merged 1 commit intoYaoApp:mainfrom
trheyi:main

Conversation

@trheyi
Copy link
Contributor

@trheyi trheyi commented Nov 17, 2025

  • 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.

- 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.
@trheyi trheyi merged commit 547b990 into YaoApp:main Nov 17, 2025
2 of 3 checks passed
@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant