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: refactor - clean out useEngines - mutate swr to update #4476

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Jan 17, 2025

Describe Your Changes

Refactor the engine state management to solely utilize the SWR hook. Deprecate the useEngines and installed engine atom functions to establish a consistent state management and data fetching mechanism.

Added a minor model settings where anthropic remote models should support stream by default.

Self Checklist

This pull request includes several important changes focused on streamlining engine management and updating how engines are handled across various components. The changes involve replacing the installedEnginesAtom with the useGetEngines hook and making corresponding updates in multiple files.

Engine Management Updates:

Removal of Deprecated Code:

Configuration and Utility Updates:

Other Minor Changes:

These changes collectively improve the consistency and reliability of engine management across the codebase.

@louis-jan louis-jan requested a review from urmauur January 17, 2025 05:45
@github-actions github-actions bot added the type: chore Maintenance, operational label Jan 17, 2025
@louis-jan louis-jan merged commit 56df737 into main Jan 17, 2025
16 checks passed
@louis-jan louis-jan deleted the chore/refactor-remove-engine-atom branch January 17, 2025 06:06
@github-actions github-actions bot added this to the v0.5.14 milestone Jan 17, 2025
Copy link
Contributor

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

@imtuyethan imtuyethan modified the milestones: v0.5.14, v0.5.15 Jan 21, 2025
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.

3 participants