tabbyAPI-ollama/endpoints/OAI
kingbri aa657fa6e9 API: Ignore add_bos_token in chat completions
When fetching special tokens from the model, don't factor in the
add_bos_token and ban_eos_token parameters as switches.

In addition, change the internal handling of add_bos_token to an optional
boolean. This allows us to fallback to the model when selecting whether
or not to add the BOS token, especially for chat completions.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-05-01 22:51:15 -04:00
..
types API: Ignore add_bos_token in chat completions 2025-05-01 22:51:15 -04:00
utils API: Ignore add_bos_token in chat completions 2025-05-01 22:51:15 -04:00
router.py API: Fix chat completion formatting flow 2024-11-21 17:51:14 -05:00