llama-stack-mirror/tests/unit/providers/utils
Ben Browning fd9d52564b fix: resolve BuiltinTools to strings for vllm tool_call messages
When the result of a ToolCall gets passed back into vLLM for the model
to handle the tool call result (as is often the case in agentic
tool-calling workflows), we forgot to handle the case where
BuiltinTool calls are not string values but instead instances of the
BuiltinTool enum. This fixes that, properly converting those enums to
string values before trying to serialize them into an OpenAI chat
completion request to vLLM.

PR #1931 fixed a bug where we weren't passing these tool calling
results back into vLLM, but as a side-effect it created this
serialization bug when using BuiltinTools.

Resolves #2070

Signed-off-by: Ben Browning <bbrownin@redhat.com>
2025-04-30 20:10:33 -04:00
..
inference fix: resolve BuiltinTools to strings for vllm tool_call messages 2025-04-30 20:10:33 -04:00
test_scheduler.py feat: Implement async job execution for torchtune training (#1437) 2025-04-14 08:59:11 -07:00