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: app crashes on select cloud model first time onboarding #4470

Merged

Conversation

louis-jan
Copy link
Contributor

Describe Your Changes

Fixed an issue where the app would crash if the user clicked on the cloud model during the first time of onboarding.
CleanShot 2025-01-16 at 19 56 58

Changes

This pull request includes changes to improve the handling of engine settings and filtering logic in the RemoteEngineSettings and OnDeviceStarterScreen components. The most important changes include adding a null check for the engine variable and filtering engines by type before mapping them.

Improvements to engine settings handling:

Enhancements to filtering logic:

@louis-jan louis-jan requested a review from urmauur January 16, 2025 12:57
@github-actions github-actions bot added the type: bug Something isn't working label Jan 16, 2025
@louis-jan louis-jan force-pushed the fix/app-crashes-on-select-cloud-model-first-time-onboarding branch from 51d0180 to 1affa5a Compare January 16, 2025 12:59
Copy link
Contributor

github-actions bot commented Jan 16, 2025

Barecheck - Code coverage report

Total: 69.23%

Your code coverage diff: -0.01% ▾

Uncovered files and lines
FileLines
web/screens/Thread/ThreadCenterPanel/ChatBody/OnDeviceStarterScreen/index.tsx65, 98, 104, 128, 149-150, 152, 175, 184, 186, 214, 237, 239, 270, 296, 304, 308, 312, 317-318, 347

@louis-jan louis-jan merged commit df6110b into main Jan 16, 2025
14 checks passed
@louis-jan louis-jan deleted the fix/app-crashes-on-select-cloud-model-first-time-onboarding branch January 16, 2025 13:54
@github-actions github-actions bot added this to the v0.5.14 milestone Jan 16, 2025
Copy link
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
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants