llama-stack-mirror/docs/static
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
..
img docs: update OG image (#3669) 2025-10-03 10:22:54 -07:00
providers/vector_io docs: static content migration (#3535) 2025-09-24 14:08:50 -07:00
deprecated-llama-stack-spec.html feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00
deprecated-llama-stack-spec.yaml feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00
experimental-llama-stack-spec.yaml feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00
llama-stack-spec.html feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00
llama-stack-spec.yaml feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00
openai-spec-2.3.0.yml feat(api): oasdiff OpenAI openAPI spec against ours (#3529) 2025-12-01 15:27:08 -08:00
remote_or_local.gif docs: static content migration (#3535) 2025-09-24 14:08:50 -07:00
safety_system.webp docs: static content migration (#3535) 2025-09-24 14:08:50 -07:00
site.webmanifest docs: add favicon and mobile styling (#3650) 2025-10-02 10:42:54 +02:00
stainless-llama-stack-spec.html feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00
stainless-llama-stack-spec.yaml feat: add support for tool_choice to responses api (#4106) 2025-12-15 11:22:06 -08:00