Class TokenLimitExceededException
- Namespace
- Mythosia.AI.Exceptions
- Assembly
- Mythosia.AI.Abstractions.dll
Exception thrown when token limit is exceeded
public class TokenLimitExceededException : AIServiceException, ISerializable
- Inheritance
-
TokenLimitExceededException
- Implements
- Inherited Members
Constructors
TokenLimitExceededException(string, uint, uint)
public TokenLimitExceededException(string message, uint requestedTokens, uint maxTokens)
Parameters
TokenLimitExceededException(uint, uint)
public TokenLimitExceededException(uint requestedTokens, uint maxTokens)
Parameters
Properties
MaxTokens
public uint MaxTokens { get; }
Property Value
RequestedTokens
public uint RequestedTokens { get; }