llama-stack-mirror/tests
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
..
client-sdk/post_training feat: Add nemo customizer (#1448) 2025-03-25 11:01:10 -07:00
external-provider/llama-stack-provider-ollama refactor: Replace SQLITE_DB_PATH by SQLITE_STORE_DIR env in templates (#2055) 2025-04-29 15:28:10 -07:00
integration feat: OpenAI Responses API (#1989) 2025-04-28 14:06:00 -07:00
unit fix: resolve BuiltinTools to strings for vllm tool_call messages 2025-04-30 20:10:33 -04:00
verifications feat(pre-commit): enhance pre-commit hooks with additional checks (#2014) 2025-04-30 11:35:49 -07:00
__init__.py refactor(test): introduce --stack-config and simplify options (#1404) 2025-03-05 17:02:02 -08:00