Skip to content

Conversation

@Udhul
Copy link

@Udhul Udhul commented Dec 7, 2025

Issue

#9141

Fix

  • Add folder_paths.clear_filename_list_cache() to invalidate cached model filenames.
  • Invoke the cache clear in /object_info (triggered by the “r” reload/update) so subsequent get_filename_list calls rescan model directories, exposing models added at runtime.
  • Keeps discovery logic unchanged; minimal surface-area fix.

Testing

Tested and works locally on windows. Models can now be reloaded during runtime.

@Udhul Udhul marked this pull request as ready for review December 7, 2025 06: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.

1 participant