@wix/auto_sdk_ai-gateway_generators 1.0.9 → 1.0.10

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.
@@ -7084,10 +7084,26 @@ declare enum FinishReason {
7084
7084
  /** The token generation was stopped as the response was flagged for unauthorized citations. */
7085
7085
  RECITATION = "RECITATION",
7086
7086
  /** All other reasons that stopped the token */
7087
- OTHER = "OTHER"
7087
+ OTHER = "OTHER",
7088
+ /** The response candidate content was flagged for using an unsupported language. */
7089
+ LANGUAGE = "LANGUAGE",
7090
+ /** Token generation stopped because the content contains forbidden terms. */
7091
+ BLOCKLIST = "BLOCKLIST",
7092
+ /** Token generation stopped for potentially containing prohibited content. */
7093
+ PROHIBITED_CONTENT = "PROHIBITED_CONTENT",
7094
+ /** Token generation stopped because the content potentially contains Sensitive Personally Identifiable Information (SPII). */
7095
+ SPII = "SPII",
7096
+ /** The function call generated by the model is invalid. */
7097
+ MALFORMED_FUNCTION_CALL = "MALFORMED_FUNCTION_CALL",
7098
+ /** Token generation stopped because generated images contain safety violations. */
7099
+ IMAGE_SAFETY = "IMAGE_SAFETY",
7100
+ /** Model generated a tool call but no tools were enabled in the request. */
7101
+ UNEXPECTED_TOOL_CALL = "UNEXPECTED_TOOL_CALL",
7102
+ /** Model called too many tools consecutively, thus the system exited execution. */
7103
+ TOO_MANY_TOOL_CALLS = "TOO_MANY_TOOL_CALLS"
7088
7104
  }
7089
7105
  /** @enumType */
7090
- type FinishReasonWithLiterals = FinishReason | 'UNKNOWN_FINISH_REASON' | 'UNSPECIFIED' | 'STOP' | 'MAX_TOKENS' | 'SAFETY' | 'RECITATION' | 'OTHER';
7106
+ type FinishReasonWithLiterals = FinishReason | 'UNKNOWN_FINISH_REASON' | 'UNSPECIFIED' | 'STOP' | 'MAX_TOKENS' | 'SAFETY' | 'RECITATION' | 'OTHER' | 'LANGUAGE' | 'BLOCKLIST' | 'PROHIBITED_CONTENT' | 'SPII' | 'MALFORMED_FUNCTION_CALL' | 'IMAGE_SAFETY' | 'UNEXPECTED_TOOL_CALL' | 'TOO_MANY_TOOL_CALLS';
7091
7107
  interface SafetyRating {
7092
7108
  /** The safety category that the response belongs to. */
7093
7109
  category?: HarmCategoryWithLiterals;
@@ -3691,6 +3691,14 @@ var FinishReason = /* @__PURE__ */ ((FinishReason2) => {
3691
3691
  FinishReason2["SAFETY"] = "SAFETY";
3692
3692
  FinishReason2["RECITATION"] = "RECITATION";
3693
3693
  FinishReason2["OTHER"] = "OTHER";
3694
+ FinishReason2["LANGUAGE"] = "LANGUAGE";
3695
+ FinishReason2["BLOCKLIST"] = "BLOCKLIST";
3696
+ FinishReason2["PROHIBITED_CONTENT"] = "PROHIBITED_CONTENT";
3697
+ FinishReason2["SPII"] = "SPII";
3698
+ FinishReason2["MALFORMED_FUNCTION_CALL"] = "MALFORMED_FUNCTION_CALL";
3699
+ FinishReason2["IMAGE_SAFETY"] = "IMAGE_SAFETY";
3700
+ FinishReason2["UNEXPECTED_TOOL_CALL"] = "UNEXPECTED_TOOL_CALL";
3701
+ FinishReason2["TOO_MANY_TOOL_CALLS"] = "TOO_MANY_TOOL_CALLS";
3694
3702
  return FinishReason2;
3695
3703
  })(FinishReason || {});
3696
3704
  var HarmProbability = /* @__PURE__ */ ((HarmProbability2) => {