File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
src/resources/beta/threads/runs
tests/api-resources/beta/threads/runs Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -343,8 +343,16 @@ export interface RunCreateParams {
343
343
assistant_id : string ;
344
344
345
345
/**
346
- * Override the default system message of the assistant. This is useful for
347
- * modifying the behavior on a per-run basis.
346
+ * Appends additional instructions at the end of the instructions for the run. This
347
+ * is useful for modifying the behavior on a per-run basis without overriding other
348
+ * instructions.
349
+ */
350
+ additional_instructions ?: string | null ;
351
+
352
+ /**
353
+ * Overrides the
354
+ * [instructions](https://platform.openai.com/docs/api-reference/assistants/createAssistant)
355
+ * of the assistant. This is useful for modifying the behavior on a per-run basis.
348
356
*/
349
357
instructions ?: string | null ;
350
358
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ describe('resource runs', () => {
23
23
test ( 'create: required and optional params' , async ( ) => {
24
24
const response = await openai . beta . threads . runs . create ( 'string' , {
25
25
assistant_id : 'string' ,
26
+ additional_instructions : 'string' ,
26
27
instructions : 'string' ,
27
28
metadata : { } ,
28
29
model : 'string' ,
You can’t perform that action at this time.
0 commit comments