tabbyAPI-ollama/endpoints
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
..
core API + Model: Apply config.yml defaults for all load paths 2024-09-10 23:35:35 -04:00
Kobold API: Bump sent koboldcpp version 2024-09-07 21:45:51 -04:00
OAI Properly specify config value in the error message 2024-09-08 22:02:49 +03:00
server.py Config: Migrate to global class instead of dicts 2024-09-04 23:18:47 -04:00
utils.py Main: Make openapi export store locally 2024-07-08 14:54:06 -04:00