Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public enum SessionTurnErrorCodeResource
/// <summary>
///
/// </summary>
FlexUnavailable,
/// <summary>
///
/// </summary>
InternalError,
/// <summary>
///
Expand Down Expand Up @@ -101,6 +105,7 @@ public static string ToValueString(this SessionTurnErrorCodeResource value)
SessionTurnErrorCodeResource.CreditBalanceExhausted => "credit_balance_exhausted",
SessionTurnErrorCodeResource.CyberPolicy => "cyber_policy",
SessionTurnErrorCodeResource.ExecutorVersionIncompatible => "executor_version_incompatible",
SessionTurnErrorCodeResource.FlexUnavailable => "flex_unavailable",
SessionTurnErrorCodeResource.InternalError => "internal_error",
SessionTurnErrorCodeResource.InvalidRequest => "invalid_request",
SessionTurnErrorCodeResource.MisalignmentPolicyViolation => "misalignment_policy_violation",
Expand Down Expand Up @@ -129,6 +134,7 @@ public static string ToValueString(this SessionTurnErrorCodeResource value)
"credit_balance_exhausted" => SessionTurnErrorCodeResource.CreditBalanceExhausted,
"cyber_policy" => SessionTurnErrorCodeResource.CyberPolicy,
"executor_version_incompatible" => SessionTurnErrorCodeResource.ExecutorVersionIncompatible,
"flex_unavailable" => SessionTurnErrorCodeResource.FlexUnavailable,
"internal_error" => SessionTurnErrorCodeResource.InternalError,
"invalid_request" => SessionTurnErrorCodeResource.InvalidRequest,
"misalignment_policy_violation" => SessionTurnErrorCodeResource.MisalignmentPolicyViolation,
Expand Down
2 changes: 2 additions & 0 deletions src/libs/tryAGI.OpenAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87616,6 +87616,7 @@ components:
- usage_limit_exceeded
- credit_balance_exhausted
- rate_limit_exceeded
- flex_unavailable
- server_overloaded
- cyber_policy
- misalignment_policy_violation
Expand All @@ -87635,6 +87636,7 @@ components:
- The organization has reached a usage, plan, or billing limit.
- The organization has no API credits remaining.
- The request exceeds the available rate limit.
- Flex processing is temporarily unavailable.
- The model service is temporarily overloaded.
- The request was rejected by a safety policy.
- The request was blocked by the safety systems.
Expand Down
Loading