Skip to content

fix: filter out imported models for model sources #2055

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
merged 2 commits into from
Mar 3, 2025

Conversation

vansangpfiev
Copy link
Contributor

@vansangpfiev vansangpfiev commented Mar 3, 2025

Describe Your Changes

This pull request includes a few important changes to the engine/database/models.cc and engine/services/model_service.cc files. The changes primarily focus on refining the model source filtering and modifying background task processing.

Refinements and modifications:

  • engine/database/models.cc: Updated the GetModelSources method to exclude models with the source labeled as "imported" from the query results.
  • engine/services/model_service.cc: Commented out the ProcessBgrTasks call in the ModelService constructor to prevent background tasks from being processed during initialization.

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@vansangpfiev vansangpfiev changed the title fix: filter out imported model for model sources fix: filter out imported models for model sources Mar 3, 2025
@vansangpfiev vansangpfiev marked this pull request as ready for review March 3, 2025 03:23
@vansangpfiev vansangpfiev merged commit 994ed98 into main Mar 3, 2025
8 checks passed
@vansangpfiev vansangpfiev deleted the s/fix/import-n-remote branch March 3, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants