llama-stack-mirror/tests/unit
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
..
cli refactor: tests/unittests -> tests/unit; tests/api -> tests/integration 2025-03-04 09:57:00 -08:00
distribution feat: ability to execute external providers (#1672) 2025-04-09 10:30:41 +02:00
models feat: support '-' in tool names (#1807) 2025-04-12 14:23:03 -07:00
providers Do not send an empty 'tools' param to remote vllm 2025-04-15 18:02:21 +02:00
rag chore: Get sqlite_vec and vector_store unit tests passing (#1413) 2025-03-05 13:20:13 -05:00
registry fix: handle registry errors gracefully (#1732) 2025-03-20 15:24:07 -07:00
server feat(server): add attribute based access control for resources (#1703) 2025-03-19 21:28:52 -07:00