ChatInputBudget constructor
const
ChatInputBudget({
- int maxJsonDepth = 32,
- int maxCapabilityDepth = 16,
- int maxCapabilityNodes = 4096,
- int maxCapabilityBytes = 256 * 1024,
- int maxAuthMethods = 32,
- int maxMetadataDepth = 16,
- int maxMetadataNodes = 8192,
- int maxMetadataEntries = 1024,
- int maxMetadataBytes = 512 * 1024,
- int maxCollectionItems = 1024,
- int maxStructuredUpdateNodes = 8192,
- int maxStructuredUpdateBytes = 16 * 1024 * 1024,
- int maxStructuredStringBytes = 4 * 1024 * 1024,
- int maxMessageTextBytes = 2 * 1024 * 1024,
- int maxMessageTextLines = 10000,
- int maxMarkdownSyntaxTokens = 4096,
- int maxMarkdownFallbackBytes = 64 * 1024,
- int maxThoughtTextBytes = 512 * 1024,
- int maxEmbeddedMediaBytes = 16 * 1024 * 1024,
- int maxImageDimension = 8192,
- int maxImagePixels = 16777216,
- int maxImagePreviewPixels = 2097152,
- int maxConcurrentImageDecodes = 2,
- int maxImagePreviewPixelsGlobal = 4194304,
- int maxImageDecodeBytesGlobal = 32 * 1024 * 1024,
- int maxTurnItems = 512,
- int maxTurnRetainedBytes = 32 * 1024 * 1024,
- int maxTimelineItems = 2000,
- int maxTimelineBytes = 32 * 1024 * 1024,
- int maxUiStateBytes = 128 * 1024 * 1024,
- int maxMetadataPreviewBytes = 16 * 1024,
- int maxMetadataPreviewChars = 4096,
Implementation
const ChatInputBudget({
this.maxJsonDepth = 32,
this.maxCapabilityDepth = 16,
this.maxCapabilityNodes = 4096,
this.maxCapabilityBytes = 256 * 1024,
this.maxAuthMethods = 32,
this.maxMetadataDepth = 16,
this.maxMetadataNodes = 8192,
this.maxMetadataEntries = 1024,
this.maxMetadataBytes = 512 * 1024,
this.maxCollectionItems = 1024,
this.maxStructuredUpdateNodes = 8192,
this.maxStructuredUpdateBytes = 16 * 1024 * 1024,
this.maxStructuredStringBytes = 4 * 1024 * 1024,
this.maxMessageTextBytes = 2 * 1024 * 1024,
this.maxMessageTextLines = 10000,
this.maxMarkdownSyntaxTokens = 4096,
this.maxMarkdownFallbackBytes = 64 * 1024,
this.maxThoughtTextBytes = 512 * 1024,
this.maxEmbeddedMediaBytes = 16 * 1024 * 1024,
this.maxImageDimension = 8192,
this.maxImagePixels = 16777216,
this.maxImagePreviewPixels = 2097152,
this.maxConcurrentImageDecodes = 2,
this.maxImagePreviewPixelsGlobal = 4194304,
this.maxImageDecodeBytesGlobal = 32 * 1024 * 1024,
this.maxTurnItems = 512,
this.maxTurnRetainedBytes = 32 * 1024 * 1024,
this.maxTimelineItems = 2000,
this.maxTimelineBytes = 32 * 1024 * 1024,
this.maxUiStateBytes = 128 * 1024 * 1024,
this.maxMetadataPreviewBytes = 16 * 1024,
this.maxMetadataPreviewChars = 4096,
});