mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 01:41:59 +00:00
feat: Add "instructions" support to responses API
Add support for "instructions" to the responses API. Instructions provide a way to swap out system (or developer) messages in new responses. Signed-off-by: Derek Higgins <derekh@redhat.com>
This commit is contained in:
parent
0cc0731189
commit
9c8167edd5
6 changed files with 153 additions and 1 deletions
|
|
@ -596,6 +596,7 @@ class Agents(Protocol):
|
|||
self,
|
||||
input: str | list[OpenAIResponseInput],
|
||||
model: str,
|
||||
instructions: str | None = None,
|
||||
previous_response_id: str | None = None,
|
||||
store: bool | None = True,
|
||||
stream: bool | None = False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue