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

Fix settings translations #2690

Merged
merged 5 commits into from
Jul 19, 2024
Merged

Fix settings translations #2690

merged 5 commits into from
Jul 19, 2024

Conversation

manyoso
Copy link
Collaborator

@manyoso manyoso commented Jul 18, 2024

No description provided.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
Signed-off-by: Adam Treat <treat.adam@gmail.com>
Signed-off-by: Adam Treat <treat.adam@gmail.com>
@manyoso manyoso requested a review from cebtenzzre July 18, 2024 13:39
Copy link
Member

@cebtenzzre cebtenzzre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • foundUserDefault is no longer used and can be removed
  • userDefaultModelList no longer needs to prepend/append the selected model because the index is set
  • I now notice that exportModelList is missing a check for isEmbeddingModel
  • With above changes, userDefaultModelList and exportModelList are the same and one can be eliminated - whichever stays should have a comment that it needs to say in sync with m_selectableModels
  • The model list is set once on startup and never again - this is a regression, we used to update this automatically

Signed-off-by: Adam Treat <treat.adam@gmail.com>
@manyoso manyoso requested a review from cebtenzzre July 19, 2024 13:39
gpt4all-chat/server.cpp Outdated Show resolved Hide resolved
@manyoso manyoso requested a review from cebtenzzre July 19, 2024 14:44
Signed-off-by: Adam Treat <treat.adam@gmail.com>
@manyoso manyoso merged commit d7f7c36 into main Jul 19, 2024
6 of 12 checks passed
cebtenzzre added a commit that referenced this pull request Aug 14, 2024
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
cebtenzzre added a commit that referenced this pull request Aug 14, 2024
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
# 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