@soat/sdk 0.17.3 → 0.17.5
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 +4 -4
- package/dist/index.d.mts +4 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -451,7 +451,7 @@ type Agent = {
|
|
|
451
451
|
*/
|
|
452
452
|
max_steps?: number | null;
|
|
453
453
|
/**
|
|
454
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
454
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
455
455
|
*/
|
|
456
456
|
tool_choice?: unknown;
|
|
457
457
|
/**
|
|
@@ -577,7 +577,7 @@ type CreateAgentRequest = {
|
|
|
577
577
|
tools?: Array<CreateToolRequest>;
|
|
578
578
|
max_steps?: number;
|
|
579
579
|
/**
|
|
580
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
580
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
581
581
|
*/
|
|
582
582
|
tool_choice?: unknown;
|
|
583
583
|
stop_conditions?: Array<{
|
|
@@ -666,7 +666,7 @@ type UpdateAgentRequest = {
|
|
|
666
666
|
tools?: Array<CreateToolRequest> | null;
|
|
667
667
|
max_steps?: number | null;
|
|
668
668
|
/**
|
|
669
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
669
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
670
670
|
*/
|
|
671
671
|
tool_choice?: unknown;
|
|
672
672
|
stop_conditions?: Array<{
|
|
@@ -1870,7 +1870,7 @@ type AgentResourceProperties = {
|
|
|
1870
1870
|
*/
|
|
1871
1871
|
max_steps?: number | null;
|
|
1872
1872
|
/**
|
|
1873
|
-
* Controls how the model selects tools. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
1873
|
+
* Controls how the model selects tools. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
1874
1874
|
*/
|
|
1875
1875
|
tool_choice?: unknown;
|
|
1876
1876
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -451,7 +451,7 @@ type Agent = {
|
|
|
451
451
|
*/
|
|
452
452
|
max_steps?: number | null;
|
|
453
453
|
/**
|
|
454
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
454
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
455
455
|
*/
|
|
456
456
|
tool_choice?: unknown;
|
|
457
457
|
/**
|
|
@@ -577,7 +577,7 @@ type CreateAgentRequest = {
|
|
|
577
577
|
tools?: Array<CreateToolRequest>;
|
|
578
578
|
max_steps?: number;
|
|
579
579
|
/**
|
|
580
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
580
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
581
581
|
*/
|
|
582
582
|
tool_choice?: unknown;
|
|
583
583
|
stop_conditions?: Array<{
|
|
@@ -666,7 +666,7 @@ type UpdateAgentRequest = {
|
|
|
666
666
|
tools?: Array<CreateToolRequest> | null;
|
|
667
667
|
max_steps?: number | null;
|
|
668
668
|
/**
|
|
669
|
-
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
669
|
+
* Tool choice strategy. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
670
670
|
*/
|
|
671
671
|
tool_choice?: unknown;
|
|
672
672
|
stop_conditions?: Array<{
|
|
@@ -1870,7 +1870,7 @@ type AgentResourceProperties = {
|
|
|
1870
1870
|
*/
|
|
1871
1871
|
max_steps?: number | null;
|
|
1872
1872
|
/**
|
|
1873
|
-
* Controls how the model selects tools. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "
|
|
1873
|
+
* Controls how the model selects tools. Accepts a string (`"auto"`, `"required"`) or an object (`{ "type": "tool", "tool_name": "my_tool" }`).
|
|
1874
1874
|
*/
|
|
1875
1875
|
tool_choice?: unknown;
|
|
1876
1876
|
/**
|