Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

fix: filter out imported models for model sources #2055

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants