@naturali/sdk 0.60.2 → 0.61.0
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.
- package/dist/index.d.cts +5 -1
- package/dist/index.d.mts +5 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1406,7 +1406,11 @@ type GenerationCreate = {
|
|
|
1406
1406
|
};
|
|
1407
1407
|
};
|
|
1408
1408
|
type Message = {
|
|
1409
|
-
|
|
1409
|
+
/**
|
|
1410
|
+
* Who authored the message. A `system` role is not accepted here: an agent's system prompt is operator configuration, set once as the agent's `instructions`, not something a caller supplies per request. Sending one is rejected with `400 validation_failed`.
|
|
1411
|
+
*
|
|
1412
|
+
*/
|
|
1413
|
+
role: 'user' | 'assistant';
|
|
1410
1414
|
/**
|
|
1411
1415
|
* The message text.
|
|
1412
1416
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -1406,7 +1406,11 @@ type GenerationCreate = {
|
|
|
1406
1406
|
};
|
|
1407
1407
|
};
|
|
1408
1408
|
type Message = {
|
|
1409
|
-
|
|
1409
|
+
/**
|
|
1410
|
+
* Who authored the message. A `system` role is not accepted here: an agent's system prompt is operator configuration, set once as the agent's `instructions`, not something a caller supplies per request. Sending one is rejected with `400 validation_failed`.
|
|
1411
|
+
*
|
|
1412
|
+
*/
|
|
1413
|
+
role: 'user' | 'assistant';
|
|
1410
1414
|
/**
|
|
1411
1415
|
* The message text.
|
|
1412
1416
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.0",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"tsx": "^4.23.1",
|
|
38
38
|
"typescript": "~6.0.3",
|
|
39
39
|
"vitest": "^4.1.10",
|
|
40
|
-
"@naturali/api": "0.
|
|
40
|
+
"@naturali/api": "0.61.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"generate": "tsx scripts/generate.ts",
|