Skip to content

Enhance streaming and grouping functionality in Assistant#1348

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

Enhance streaming and grouping functionality in Assistant#1348
trheyi merged 1 commit intoYaoApp:mainfrom
trheyi:main

Conversation

@trheyi
Copy link
Contributor

@trheyi trheyi commented Nov 26, 2025

  • Introduced SendGroupStart and SendGroupEnd methods for better control over message grouping, allowing for automatic ID generation and event handling.
  • Updated streamState structure to track group IDs, message sequences, and chunk counts, improving message organization during streaming.
  • Refactored message handling to eliminate the 'done' field, signaling message completion through group_end events instead.
  • Revised JSAPI documentation to reflect new methods and usage patterns, enhancing clarity for developers.
  • Improved test cases to validate new group handling features and ensure proper functionality.

- Introduced SendGroupStart and SendGroupEnd methods for better control over message grouping, allowing for automatic ID generation and event handling.
- Updated streamState structure to track group IDs, message sequences, and chunk counts, improving message organization during streaming.
- Refactored message handling to eliminate the 'done' field, signaling message completion through group_end events instead.
- Revised JSAPI documentation to reflect new methods and usage patterns, enhancing clarity for developers.
- Improved test cases to validate new group handling features and ensure proper functionality.
@trheyi trheyi merged commit 415f0d5 into YaoApp:main Nov 26, 2025
3 of 4 checks passed
@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: 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: 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: 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: 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: 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: 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

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

@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: MySQL5.7 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

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

@github-actions
Copy link

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

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 5 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: 6 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