tabbyAPI-ollama/endpoints/OAI/utils
kingbri 879f4cee7e API: Modify tool calling for wider compat
When revisiting tool calls, the formats have more or less become standard.
For greater compatibility with templates, primarily use the message.tools
parameter and remove the extra custom metadata that is no longer required.

However, unlike other backends, tabbyAPI still uses template metadata
to declare what the tool start string is. This allows for template-level
customization along with giving more power to the user while the server
exists to consume rather than work on a case-by-case basis.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-07-05 14:28:12 -04:00
..
chat_completion.py API: Modify tool calling for wider compat 2025-07-05 14:28:12 -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 API: Modify tool calling for wider compat 2025-07-05 14:28:12 -04:00