tabbyAPI-ollama/endpoints
kingbri b4752c1e62 Templates: Revert to load metadata on runtime
Metadata is generated via a template's module. This requires a single
iteration through the template. If a template tries to access a passed
variable that doesn't exist, it will error.

Therefore, generate the metadata at runtime to prevent these errors
from happening. To optimize further, cache the metadata after the
first generation to prevent the expensive call of making a template
module.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-08-17 11:44:42 -04:00
..
core Config: Embeddings: Make embeddings_device a default when API loading 2024-08-01 13:59:49 -04:00
Kobold Kobold: Fix max length type 2024-07-26 23:00:26 -04:00
OAI Templates: Revert to load metadata on runtime 2024-08-17 11:44:42 -04:00
server.py API: Add setup function to routers 2024-07-26 22:24:33 -04:00
utils.py Main: Make openapi export store locally 2024-07-08 14:54:06 -04:00