llama-stack-mirror/llama_stack/apis/agents
Ben Browning badf8594d1 feat: Structured output for Responses API
This adds the missing `text` parameter to the Responses API that is
how users control structured outputs. All we do with that parameter is
map it to the corresponding chat completion response_format.

The unit tests exercise the various permutations allowed for this
property, while a couple of new verification tests actually use it for
real to verify the model outputs are following the format as expected.

Signed-off-by: Ben Browning <bbrownin@redhat.com>
2025-06-02 19:43:40 -04:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
agents.py feat: Structured output for Responses API 2025-06-02 19:43:40 -04:00
openai_responses.py feat: Structured output for Responses API 2025-06-02 19:43:40 -04:00