tabbyAPI-ollama/endpoints/OAI
kingbri 10fbe043a4 API: Fix typing for chat templates in CC requests
Tools must be None by default. Chat completion message content can
be None, a string, or a list, so default to None. Exclude all None
values from a CC message since the template can say the variable
"exists" despite being None, causing an error.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-05-24 21:06:05 -04:00
..
types API: Fix typing for chat templates in CC requests 2025-05-24 21:06:05 -04:00
utils API: Fix typing for chat templates in CC requests 2025-05-24 21:06:05 -04:00
router.py API: Fix chat completion formatting flow 2024-11-21 17:51:14 -05:00