Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix assistant context switching and ID handling #861

Merged
merged 2 commits into from
Feb 9, 2025
Merged

Conversation

trheyi
Copy link
Contributor

@trheyi trheyi commented Feb 9, 2025

  • Prevent switching to an empty assistant ID
  • Update context assistant ID during execution
  • Ensure proper assistant context management in chat flow

- Prevent switching to an empty assistant ID
- Update context assistant ID during execution
- Ensure proper assistant context management in chat flow
- Improve type safety when accessing Neo's assistant
- Use type assertion with ok check to handle potential nil or incorrect type
- Simplify assistant context retrieval in Xgen settings
@trheyi trheyi merged commit 12e15e6 into YaoApp:main Feb 9, 2025
1 of 2 checks passed
Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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.

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

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

Copy link

github-actions bot commented Feb 9, 2025

✨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