tabbyAPI-ollama/endpoints/core
kingbri b9e5693c1b API + Model: Apply config.yml defaults for all load paths
There are two ways to load a model:
1. Via the load endpoint
2. Inline with a completion

The defaults were not applying on the inline load, so rewrite to fix
that. However, while doing this, set up a defaults dictionary rather
than comparing it at runtime and remove the pydantic default lambda
on all the model load fields.

This makes the code cleaner and establishes a clear config tree for
loading models.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-09-10 23:35:35 -04:00
..
types API + Model: Apply config.yml defaults for all load paths 2024-09-10 23:35:35 -04:00
utils API: Fix current model list return 2024-09-01 10:54:01 -04:00
router.py Tree: Switch to asynchronous file handling 2024-09-10 16:45:14 -04:00