tabbyAPI-ollama/endpoints/OAI/utils
kingbri b6a26da50c API: Fix tool call serialization
To render in the template, tool call start tokens needed to have less
checks and remove the line to convert message.tool_calls to a dict
since that breaks the rest of the chain by disconnecting the types.
model_dump on the message itself already accomplishes this.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-07-04 15:02:49 -04:00
..
chat_completion.py API: Fix tool call serialization 2025-07-04 15:02:49 -04:00
completion.py API: Add timings to usage stats 2025-06-17 22:54:51 -04:00
embeddings.py API: Format and fix message naming 2025-04-28 22:36:30 -04:00
tools.py Support more common tool variables in templates (tools, message.tool_calls) (#308) 2025-03-23 13:23:00 -04:00