tabbyAPI-ollama/endpoints
kingbri 54b8a20a19 API: Fix types for chat completions
Messages were mistakenly being sent as Pydantic objects, but templates
expect dictionaries. Properly convert these before render.

In addition, initialize all Optional lists as an empty list since
this will cause the least problems when interacting with other parts
of API code, such as templates.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-05-17 18:10:34 -04:00
..
core API: Add default for backend in model load request 2025-05-12 09:51:09 -04:00
Kobold Tree: Format 2025-05-17 00:46:40 -04:00
OAI API: Fix types for chat completions 2025-05-17 18:10:34 -04:00
server.py Args: Expose api-servers to subcommands 2025-02-10 23:39:46 -05:00