@soat/sdk 0.19.1 → 0.19.2

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 CHANGED
@@ -6091,7 +6091,7 @@ type CreateAgentGenerationErrors = {
6091
6091
  */
6092
6092
  404: ErrorResponse;
6093
6093
  /**
6094
- * Upstream AI provider error (AI_PROVIDER_ERROR), or model output that does not satisfy the agent's `output_schema` (OUTPUT_SCHEMA_VALIDATION_FAILED — the violated field is named in the message). The error `meta` includes the `generation_id` and `trace_id` of the failed generation for post-mortem debugging via GET /api/v1/generations/{generation_id}.
6094
+ * Upstream AI provider error (AI_PROVIDER_ERROR); model output that does not satisfy the agent's `output_schema` (OUTPUT_SCHEMA_VALIDATION_FAILED — the violated field is named in the message); or a model that wrote a tool invocation out as plain assistant text instead of calling the tool, so the tool never ran (TEXT_ENCODED_TOOL_CALL — `meta.tool_name` names the tool). The error `meta` includes the `generation_id` and `trace_id` of the failed generation for post-mortem debugging via GET /api/v1/generations/{generation_id}.
6095
6095
  *
6096
6096
  */
6097
6097
  502: ErrorResponse;
@@ -6130,6 +6130,11 @@ type SubmitAgentToolOutputsErrors = {
6130
6130
  * Agent or generation not found
6131
6131
  */
6132
6132
  404: ErrorResponse;
6133
+ /**
6134
+ * Upstream AI provider error (AI_PROVIDER_ERROR); model output that does not satisfy the agent's `output_schema` (OUTPUT_SCHEMA_VALIDATION_FAILED); or a model that wrote a tool invocation out as plain assistant text instead of calling the tool (TEXT_ENCODED_TOOL_CALL — `meta.tool_name` names the tool). The resumed generation is recorded `failed`.
6135
+ *
6136
+ */
6137
+ 502: ErrorResponse;
6133
6138
  };
6134
6139
  type SubmitAgentToolOutputsError = SubmitAgentToolOutputsErrors[keyof SubmitAgentToolOutputsErrors];
6135
6140
  type SubmitAgentToolOutputsResponses = {
package/dist/index.d.mts CHANGED
@@ -6091,7 +6091,7 @@ type CreateAgentGenerationErrors = {
6091
6091
  */
6092
6092
  404: ErrorResponse;
6093
6093
  /**
6094
- * Upstream AI provider error (AI_PROVIDER_ERROR), or model output that does not satisfy the agent's `output_schema` (OUTPUT_SCHEMA_VALIDATION_FAILED — the violated field is named in the message). The error `meta` includes the `generation_id` and `trace_id` of the failed generation for post-mortem debugging via GET /api/v1/generations/{generation_id}.
6094
+ * Upstream AI provider error (AI_PROVIDER_ERROR); model output that does not satisfy the agent's `output_schema` (OUTPUT_SCHEMA_VALIDATION_FAILED — the violated field is named in the message); or a model that wrote a tool invocation out as plain assistant text instead of calling the tool, so the tool never ran (TEXT_ENCODED_TOOL_CALL — `meta.tool_name` names the tool). The error `meta` includes the `generation_id` and `trace_id` of the failed generation for post-mortem debugging via GET /api/v1/generations/{generation_id}.
6095
6095
  *
6096
6096
  */
6097
6097
  502: ErrorResponse;
@@ -6130,6 +6130,11 @@ type SubmitAgentToolOutputsErrors = {
6130
6130
  * Agent or generation not found
6131
6131
  */
6132
6132
  404: ErrorResponse;
6133
+ /**
6134
+ * Upstream AI provider error (AI_PROVIDER_ERROR); model output that does not satisfy the agent's `output_schema` (OUTPUT_SCHEMA_VALIDATION_FAILED); or a model that wrote a tool invocation out as plain assistant text instead of calling the tool (TEXT_ENCODED_TOOL_CALL — `meta.tool_name` names the tool). The resumed generation is recorded `failed`.
6135
+ *
6136
+ */
6137
+ 502: ErrorResponse;
6133
6138
  };
6134
6139
  type SubmitAgentToolOutputsError = SubmitAgentToolOutputsErrors[keyof SubmitAgentToolOutputsErrors];
6135
6140
  type SubmitAgentToolOutputsResponses = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "description": "TypeScript SDK for the SOAT API",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",