-
Notifications
You must be signed in to change notification settings - Fork 2.4k
chore: sync from main into dev #4486
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
release: Jan 0.5.14 release cut
…odel-first-time-onboarding fix: app crashes on select cloud model first time onboarding
fix: remote engine revamp issues
chore: refactor - clean out useEngines - mutate swr to update
chore: fix remote engines request templates
…transformation-template chore: remote provider error handling and chore bug fix
chore: add caching for engines to improve load time
urmauur
approved these changes
Jan 20, 2025
Contributor
Contributor
|
This is the build for this pull request. You can download it from the Artifacts section here: Build URL. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe Your Changes
This is to synchronize the latest changes from the main branch into the development branch.
Self Checklist
This pull request includes several changes to enhance the functionality and organization of the codebase, particularly focusing on inference handling, engine management, and provider configuration. The most important changes include modifying error handling in the
requestInferencefunction, updating engine configuration files, and introducing a newSWRConfigProviderfor caching.Inference Handling:
core/src/browser/extensions/engines/helpers/sse.ts: Enhanced error handling in therequestInferencefunction to check for additional fields (messageanddetail) and propagate errors accordingly.Engine Management:
extensions/engine-management-extension/models/anthropic.json: Enabled streaming for theanthropicengine by setting"stream": truein the inference parameters. [1] [2]extensions/engine-management-extension/models/martian.json,extensions/engine-management-extension/models/mistral.json,extensions/engine-management-extension/models/nvidia.json,extensions/engine-management-extension/models/openrouter.json: Renamed theparametersfield toinference_paramsfor consistency across different models. [1] [2] [3] [4] [5] [6]extensions/engine-management-extension/resources/anthropic.json,extensions/engine-management-extension/resources/mistral.json: Simplified the response transformation templates. [1] [2]Provider Configuration:
web/containers/Providers/SWRConfigProvider.tsx: Introduced a newSWRConfigProvidercomponent to manage persistent caching using local storage.web/containers/Providers/index.tsx: IntegratedSWRConfigProviderinto the main providers' component to enable caching capabilities. [1] [2] [3]Hook and Atom Usage:
web/containers/Layout/BottomPanel/SystemMonitor/TableActiveModel/index.tsx,web/containers/ModelDropdown/index.tsx,web/containers/Providers/DataLoader.tsx,web/containers/Providers/ModelHandler.tsx: Replaced direct atom usage with theuseGetEngineshook for better engine management. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]