ChatInputBudget constructor

const ChatInputBudget({
  1. int maxJsonDepth = 32,
  2. int maxCapabilityDepth = 16,
  3. int maxCapabilityNodes = 4096,
  4. int maxCapabilityBytes = 256 * 1024,
  5. int maxAuthMethods = 32,
  6. int maxMetadataDepth = 16,
  7. int maxMetadataNodes = 8192,
  8. int maxMetadataEntries = 1024,
  9. int maxMetadataBytes = 512 * 1024,
  10. int maxCollectionItems = 1024,
  11. int maxStructuredUpdateNodes = 8192,
  12. int maxStructuredUpdateBytes = 16 * 1024 * 1024,
  13. int maxStructuredStringBytes = 4 * 1024 * 1024,
  14. int maxMessageTextBytes = 2 * 1024 * 1024,
  15. int maxMessageTextLines = 10000,
  16. int maxMarkdownSyntaxTokens = 4096,
  17. int maxMarkdownFallbackBytes = 64 * 1024,
  18. int maxThoughtTextBytes = 512 * 1024,
  19. int maxEmbeddedMediaBytes = 16 * 1024 * 1024,
  20. int maxImageDimension = 8192,
  21. int maxImagePixels = 16777216,
  22. int maxImagePreviewPixels = 2097152,
  23. int maxConcurrentImageDecodes = 2,
  24. int maxImagePreviewPixelsGlobal = 4194304,
  25. int maxImageDecodeBytesGlobal = 32 * 1024 * 1024,
  26. int maxTurnItems = 512,
  27. int maxTurnRetainedBytes = 32 * 1024 * 1024,
  28. int maxTimelineItems = 2000,
  29. int maxTimelineBytes = 32 * 1024 * 1024,
  30. int maxUiStateBytes = 128 * 1024 * 1024,
  31. int maxMetadataPreviewBytes = 16 * 1024,
  32. 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,
});