Skip to content
New issue

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

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

Already on GitHub? # to your account

LocalDocsSettings: fix embedding device selection after #2690 #2873

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

cebtenzzre
Copy link
Member

@cebtenzzre cebtenzzre commented Aug 14, 2024

PR #2690 changed getDevices(), but failed to update the QML for the "Embeddings Device" option on the LocalDocs page to match. Since the PR had absolutely no description, I can't say I was 100% aware of what was being changed or why, so I didn't catch this.

This change prevents the "Embeddings Device" selection from showing up as blank if "Auto" was internally selected, either by default or by selecting it in a previous version. It also allows you to select the "Auto" option again after switching to something else.

For consistency with the previous PR, "Auto" is now called "Application default," and the informative description of the "Auto" option has been removed from the UI, including all translations. (I would argue that this cannot possibly be an improvement, but too much time has been spent discussing that already.)

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
@cebtenzzre cebtenzzre marked this pull request as ready for review August 14, 2024 20:24
@cebtenzzre cebtenzzre merged commit 3aa6806 into main Aug 14, 2024
6 of 12 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants