llama-stack-mirror/tests/unit/providers
Daniel Alvarez 538d601472 Do not send an empty 'tools' param to remote vllm
Fixes: #1955

Since 0.2.0, the vLLM gets an empty list (vs ``None`` in 0.1.9 and
before) when there are no tools configured which causes the issue described
in #1955. This patch avoids sending the 'tools' param to the vLLM altogether
instead of an empty list.

It also adds a small unit test to avoid regressions.

Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
2025-04-15 18:02:21 +02:00
..
agents feat: make sure agent sessions are under access control (#1737) 2025-03-21 07:31:16 -07:00
inference Do not send an empty 'tools' param to remote vllm 2025-04-15 18:02:21 +02:00
nvidia feat: Add unit tests for NVIDIA safety (#1897) 2025-04-11 11:49:55 -07:00
utils feat: Implement async job execution for torchtune training (#1437) 2025-04-14 08:59:11 -07:00
vector_io chore: Updating sqlite-vec to make non-blocking calls (#1762) 2025-03-23 17:25:44 -07:00
test_configs.py feat(api): don't return a payload on file delete (#1640) 2025-03-25 17:12:36 -07:00