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

chore: sync latest main into dev #4360

Merged
merged 9 commits into from
Dec 30, 2024
Merged

chore: sync latest main into dev #4360

merged 9 commits into from
Dec 30, 2024

Conversation

louis-jan
Copy link
Contributor

Describe Your Changes

This PR aims to synchronize the latest changes made on the main branch into the development branch.

Changes made

This pull request includes several changes to improve the handling of thread states and response generation in the application. The most important changes include refactoring the state management for generating responses, adding new utility atoms, and updating the related components and tests.

State Management Improvements:

  • web/helpers/atoms/Thread.atom.ts: Added isWaitingForResponseAtom and isBlockingSendAtom to manage thread response states more efficiently. Also added resetThreadWaitingForResponseAtom and resetGeneratingResponseAtom for resetting states. [1] [2]

Component Updates:

Hook Updates:

Test Updates:

louis-jan and others added 9 commits December 26, 2024 19:06
fix: send message button state reset on stop
* chore: Refactor thread state management

• Replace isGeneratingResponseAtom with isBlockingSendAtom
• Update dependencies in ChatBody, ChatInput, and MessageToolbar components
• Remove unused code and variables

* chore: clean states
* chore: bump cortex 1.0.7 rc

* chore: test update
@louis-jan louis-jan requested a review from urmauur December 30, 2024 11:33
@github-actions github-actions bot added the type: chore Maintenance, operational label Dec 30, 2024
Copy link
Contributor

This is the build for this pull request. You can download it from the Artifacts section here: Build URL.

@louis-jan louis-jan merged commit da55b46 into dev Dec 30, 2024
38 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore Maintenance, operational
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants