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:
Derek Higgins 2025-05-19 17:21:47 +01:00
parent 0cc0731189
commit 9c8167edd5
6 changed files with 153 additions and 1 deletions

View file

@ -7027,6 +7027,9 @@
"type": "string",
"description": "The underlying LLM used for completions."
},
"instructions": {
"type": "string"
},
"previous_response_id": {
"type": "string",
"description": "(Optional) if specified, the new response will be a continuation of the previous response. This can be used to easily fork-off new responses from existing responses."