tabbyAPI-ollama/common
kingbri 754fb15f23 Config: Fix draft model migration and loading
The loader takes in the "draft" parameter, so map the config model
to that when creating kwargs for initial load.

Also map the old "draft" key to the new "draft_model" key.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-09-17 22:48:56 -04:00
..
actions.py Config: Move config file generation to tabby_config 2024-09-16 22:22:24 -04:00
args.py Config: Allow existing values to get included in generated file 2024-09-16 12:19:58 -04:00
auth.py Tree: Switch to asynchronous file handling 2024-09-10 16:45:14 -04:00
concurrency.py API + Model: Add blocks and checks for various load requests 2024-05-25 21:16:14 -04:00
config_models.py Config: Alter YAML generation script for formatting adherence 2024-09-17 22:44:42 -04:00
downloader.py config is now backed by pydantic (WIP) 2024-09-05 18:04:56 +01:00
gen_logging.py Logging: Remove preferences global 2024-09-14 21:49:44 -04:00
logger.py API: Add HuggingFace downloader 2024-04-29 01:15:02 -04:00
model.py API + Model: Apply config.yml defaults for all load paths 2024-09-10 23:35:35 -04:00
networking.py remove unused imports 2024-09-11 18:00:29 +01:00
sampling.py Tree: Switch to asynchronous file handling 2024-09-10 16:45:14 -04:00
signals.py Model: Bypass lock checks when shutting down 2024-08-03 16:05:34 -04:00
tabby_config.py Config: Fix draft model migration and loading 2024-09-17 22:48:56 -04:00
templating.py Tree: Fix classmethod usage 2024-09-10 20:52:29 -04:00
transformers_utils.py Transformers Utils: Fix file read 2024-09-10 22:41:39 -04:00
utils.py migrate to ruamel.yaml 2024-09-18 01:06:34 +01:00