nemo-fabric-adapter-contract 0.3.0 → 0.4.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ export type TelemetryProvider = "relay" | "native";
|
|
|
6
6
|
/**
|
|
7
7
|
* Adapter-translated normalized NVIDIA NeMo Fabric configuration fields.
|
|
8
8
|
*/
|
|
9
|
-
export type AdapterConfigField = "models" | "models.base_url" | "models.temperature" | "instructions.system" | "runtime.max_turns" | "tools.enabled" | "tools.definitions" | "tools.blocked" | "mcp" | "mcp.auth.oauth2" | "mcp.auth.service_account" | "mcp.tool_filters" | "skills";
|
|
9
|
+
export type AdapterConfigField = "models" | "models.base_url" | "models.temperature" | "models.top_p" | "models.max_tokens" | "instructions.system" | "runtime.max_turns" | "tools.enabled" | "tools.definitions" | "tools.blocked" | "mcp" | "mcp.auth.oauth2" | "mcp.auth.service_account" | "mcp.tool_filters" | "skills";
|
|
10
10
|
/**
|
|
11
11
|
* How an instruction value is applied to the selected harness.
|
|
12
12
|
*/
|
|
@@ -229,6 +229,10 @@ export interface AgentModelConfig {
|
|
|
229
229
|
* Adapter-owned model fields.
|
|
230
230
|
*/
|
|
231
231
|
extensions?: JsonObject;
|
|
232
|
+
/**
|
|
233
|
+
* Optional maximum number of response tokens.
|
|
234
|
+
*/
|
|
235
|
+
max_tokens?: number | null;
|
|
232
236
|
/**
|
|
233
237
|
* Provider model identifier.
|
|
234
238
|
*/
|
|
@@ -245,6 +249,10 @@ export interface AgentModelConfig {
|
|
|
245
249
|
* Optional model temperature.
|
|
246
250
|
*/
|
|
247
251
|
temperature?: number | null;
|
|
252
|
+
/**
|
|
253
|
+
* Optional nucleus sampling probability.
|
|
254
|
+
*/
|
|
255
|
+
top_p?: number | null;
|
|
248
256
|
}
|
|
249
257
|
/**
|
|
250
258
|
* Runtime behavior applied by an adapter target.
|
package/package.json
CHANGED
|
@@ -18,6 +18,16 @@
|
|
|
18
18
|
"description": "Model temperature.",
|
|
19
19
|
"type": "string"
|
|
20
20
|
},
|
|
21
|
+
{
|
|
22
|
+
"const": "models.top_p",
|
|
23
|
+
"description": "Model nucleus sampling probability.",
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"const": "models.max_tokens",
|
|
28
|
+
"description": "Maximum model response tokens.",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
21
31
|
{
|
|
22
32
|
"const": "instructions.system",
|
|
23
33
|
"description": "Portable system instructions.",
|
|
@@ -185,6 +185,16 @@
|
|
|
185
185
|
"description": "Adapter-owned model fields.",
|
|
186
186
|
"type": "object"
|
|
187
187
|
},
|
|
188
|
+
"max_tokens": {
|
|
189
|
+
"description": "Optional maximum number of response tokens.",
|
|
190
|
+
"format": "uint64",
|
|
191
|
+
"maximum": 18446744073709551615,
|
|
192
|
+
"minimum": 1,
|
|
193
|
+
"type": [
|
|
194
|
+
"integer",
|
|
195
|
+
"null"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
188
198
|
"model": {
|
|
189
199
|
"description": "Provider model identifier.",
|
|
190
200
|
"minLength": 1,
|
|
@@ -209,6 +219,16 @@
|
|
|
209
219
|
"number",
|
|
210
220
|
"null"
|
|
211
221
|
]
|
|
222
|
+
},
|
|
223
|
+
"top_p": {
|
|
224
|
+
"description": "Optional nucleus sampling probability.",
|
|
225
|
+
"format": "double",
|
|
226
|
+
"maximum": 1.0,
|
|
227
|
+
"minimum": 0.0,
|
|
228
|
+
"type": [
|
|
229
|
+
"number",
|
|
230
|
+
"null"
|
|
231
|
+
]
|
|
212
232
|
}
|
|
213
233
|
},
|
|
214
234
|
"required": [
|