llama-stack-mirror/docs/static
Shabana Baig add64e8e2a
feat: Add instructions parameter in response object (#3741)
# Problem
The current inline provider appends the user provided instructions to
messages as a system prompt, but the returned response object does not
contain the instructions field (as specified in the OpenAI responses
spec).

# What does this PR do?
This pull request adds the instruction field to the response object
definition and updates the inline provider. It also ensures that
instructions from previous response is not carried over to the next
response (as specified in the openAI spec).

Closes #[3566](https://github.com/llamastack/llama-stack/issues/3566)

## Test Plan

- Tested manually for change in model response w.r.t supplied
instructions field.
- Added unit test to check that the instructions from previous response
is not carried over to the next response.
- Added integration tests to check instructions parameter in the
returned response object.
- Added new recordings for the integration tests.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-20 13:10:37 -07: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 instructions parameter in response object (#3741) 2025-10-20 13:10:37 -07:00
deprecated-llama-stack-spec.yaml feat: Add instructions parameter in response object (#3741) 2025-10-20 13:10:37 -07:00
experimental-llama-stack-spec.html docs: update docstrings for better formatting (#3838) 2025-10-17 10:41:50 -07:00
experimental-llama-stack-spec.yaml docs: update docstrings for better formatting (#3838) 2025-10-17 10:41:50 -07:00
llama-stack-spec.html feat: Add instructions parameter in response object (#3741) 2025-10-20 13:10:37 -07:00
llama-stack-spec.yaml feat: Add instructions parameter in response object (#3741) 2025-10-20 13:10:37 -07: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 instructions parameter in response object (#3741) 2025-10-20 13:10:37 -07:00
stainless-llama-stack-spec.yaml feat: Add instructions parameter in response object (#3741) 2025-10-20 13:10:37 -07:00