File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
openai-core/src/commonMain/kotlin/com.aallam.openai.api/run Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ public data class RunRequest(
30
30
*/
31
31
@SerialName(" instructions" ) val instructions : String? = null ,
32
32
33
+ /* *
34
+ * Appends additional instructions at the end of the instructions for the run.
35
+ * This is useful for modifying the behavior on a per-run basis without overriding other instructions.
36
+ */
37
+ @SerialName(" additional_instructions" ) val additionalInstructions : String? = null ,
38
+
33
39
/* *
34
40
* Override the tools the assistant can use for this run.
35
41
* This is useful for modifying the behavior on a per-run basis.
@@ -74,6 +80,12 @@ public class RunRequestBuilder {
74
80
*/
75
81
public var instructions: String? = null
76
82
83
+ /* *
84
+ * Appends additional instructions at the end of the instructions for the run.
85
+ * This is useful for modifying the behavior on a per-run basis without overriding other instructions.
86
+ */
87
+ public var additionalInstructions: String? = null ,
88
+
77
89
/* *
78
90
* Override the tools the assistant can use for this run.
79
91
* This is useful for modifying the behavior on a per-run basis.
@@ -94,6 +106,7 @@ public class RunRequestBuilder {
94
106
assistantId = requireNotNull(assistantId) { " assistantId is required" },
95
107
model = model,
96
108
instructions = instructions,
109
+ additionalInstructions = additionalInstructions,
97
110
tools = tools,
98
111
metadata = metadata,
99
112
)
You can’t perform that action at this time.
0 commit comments