llama-stack-mirror/tests/unit/providers
Jaideep Rao 56f946f3f5
feat: add support for tool_choice to responses api (#4106)
# What does this PR do?
Adds support for enforcing tool usage via responses api. See
https://platform.openai.com/docs/api-reference/responses/create#responses_create-tool_choice
for details from official documentation.
Note: at present this PR only supports `file_search` and `web_search` as
options to enforce builtin tool usage

<!-- If resolving an issue, uncomment and update the line below -->
Closes #3548 

## Test Plan
<!-- Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.* -->
`./scripts/unit-tests.sh
tests/unit/providers/agents/meta_reference/test_response_tool_context.py
`

---------

Signed-off-by: Jaideep Rao <jrao@redhat.com>
2025-12-15 11:22:06 -08:00
..
agents/meta_reference feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00
batches feat: Implement FastAPI router system (#4191) 2025-12-03 12:25:54 +01:00
files refactor(storage): make { kvstore, sqlstore } as llama stack "internal" APIs (#4181) 2025-11-18 13:15:16 -08:00
inference feat!: change bedrock bearer token env variable to match AWS docs & boto3 convention (#4152) 2025-11-21 09:48:05 -05:00
inline fix: rename llama_stack_api dir (#4155) 2025-11-13 15:04:36 -08:00
nvidia feat!: standardize base_url for inference (#4177) 2025-11-19 08:44:28 -08:00
utils fix(inference): AttributeError in streaming response cleanup (#4236) 2025-12-14 07:51:09 -05:00
vector_io feat: Add support for query rewrite in vector_store.search (#4171) 2025-12-10 10:06:19 -05:00
test_bedrock.py fix: rename llama_stack_api dir (#4155) 2025-11-13 15:04:36 -08:00
test_configs.py feat!: standardize base_url for inference (#4177) 2025-11-19 08:44:28 -08:00