InvokeAI/invokeai/app/api
Lincoln Stein eb558d72d8
Fix minor bugs involving model manager handling of model paths (#6024)
* Fix minor bugs involving model manager handling of model paths

- Leave models found in the `autoimport` directory there. Do not move them
  into the `models` hierarchy.
- If model name, type or base is updated and model is in the `models` directory,
  update its path as appropriate.
- On startup during model scanning, if a model's path is a symbolic link, then resolve
  to an absolute path before deciding it is a new model that must be hashed and
  registered. (This prevents needless hashing at startup time).

* fix issue with dropped suffix

---------

Co-authored-by: Lincoln Stein <lstein@gmail.com>
2024-03-22 01:14:45 +00:00
..
routers Fix minor bugs involving model manager handling of model paths (#6024) 2024-03-22 01:14:45 +00:00
dependencies.py fix(config): use new get_config across the app, use correct settings 2024-03-19 09:24:28 +11:00
events.py chore: ruff check - fix flake8-comprensions 2023-11-11 10:55:23 +11:00
no_cache_staticfiles.py fix(api): typo in no_cache_staticfiles.py 2024-01-22 16:10:25 +11:00
sockets.py linted and styling 2024-03-01 10:42:33 +11:00