@naturali/sdk 0.264.0 → 0.266.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 +3 -3
- package/dist/index.d.mts +3 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -939,7 +939,7 @@ type Agent = {
|
|
|
939
939
|
*/
|
|
940
940
|
max_steps?: number | null;
|
|
941
941
|
/**
|
|
942
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`.
|
|
942
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`. A named tool must be one the agent offers under that resolved name, or the write (or, for names only a tool server lists, the generation) is refused with `AGENT_TOOL_NOT_OFFERED`.
|
|
943
943
|
*/
|
|
944
944
|
tool_choice?: unknown;
|
|
945
945
|
/**
|
|
@@ -1207,7 +1207,7 @@ type CreateAgentRequest = {
|
|
|
1207
1207
|
*/
|
|
1208
1208
|
max_steps?: number;
|
|
1209
1209
|
/**
|
|
1210
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`.
|
|
1210
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`. A named tool must be one the agent offers under that resolved name, or the write (or, for names only a tool server lists, the generation) is refused with `AGENT_TOOL_NOT_OFFERED`.
|
|
1211
1211
|
*/
|
|
1212
1212
|
tool_choice?: unknown;
|
|
1213
1213
|
/**
|
|
@@ -1359,7 +1359,7 @@ type UpdateAgentRequest = {
|
|
|
1359
1359
|
*/
|
|
1360
1360
|
max_steps?: number | null;
|
|
1361
1361
|
/**
|
|
1362
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`.
|
|
1362
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`. A named tool must be one the agent offers under that resolved name, or the write (or, for names only a tool server lists, the generation) is refused with `AGENT_TOOL_NOT_OFFERED`.
|
|
1363
1363
|
*/
|
|
1364
1364
|
tool_choice?: unknown;
|
|
1365
1365
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -939,7 +939,7 @@ type Agent = {
|
|
|
939
939
|
*/
|
|
940
940
|
max_steps?: number | null;
|
|
941
941
|
/**
|
|
942
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`.
|
|
942
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`. A named tool must be one the agent offers under that resolved name, or the write (or, for names only a tool server lists, the generation) is refused with `AGENT_TOOL_NOT_OFFERED`.
|
|
943
943
|
*/
|
|
944
944
|
tool_choice?: unknown;
|
|
945
945
|
/**
|
|
@@ -1207,7 +1207,7 @@ type CreateAgentRequest = {
|
|
|
1207
1207
|
*/
|
|
1208
1208
|
max_steps?: number;
|
|
1209
1209
|
/**
|
|
1210
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`.
|
|
1210
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`. A named tool must be one the agent offers under that resolved name, or the write (or, for names only a tool server lists, the generation) is refused with `AGENT_TOOL_NOT_OFFERED`.
|
|
1211
1211
|
*/
|
|
1212
1212
|
tool_choice?: unknown;
|
|
1213
1213
|
/**
|
|
@@ -1359,7 +1359,7 @@ type UpdateAgentRequest = {
|
|
|
1359
1359
|
*/
|
|
1360
1360
|
max_steps?: number | null;
|
|
1361
1361
|
/**
|
|
1362
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`.
|
|
1362
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`). A forcing value (`"required"` or the object form) forbids a final assistant message on every step of every turn, including a resumed or continued one, so it requires a `has_tool_call` entry in `stop_conditions` — otherwise the write is refused with `FORCED_TOOL_CHOICE_CANNOT_STOP`. A named tool must be one the agent offers under that resolved name, or the write (or, for names only a tool server lists, the generation) is refused with `AGENT_TOOL_NOT_OFFERED`.
|
|
1363
1363
|
*/
|
|
1364
1364
|
tool_choice?: unknown;
|
|
1365
1365
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.266.0",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
41
|
-
"@naturali/api": "0.
|
|
41
|
+
"@naturali/api": "0.266.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|