limits

package
v0.1.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxMessages       = lipapi.MaxMessages
	MaxParts          = lipapi.MaxPartsPerMessage
	MaxTools          = lipapi.MaxTools
	MaxToolSchema     = lipapi.MaxToolParametersBytes
	MaxRawJSONPayload = lipapi.MaxPartJSONBytes
	MaxMetadata       = 256
	MaxBase64Data     = lipapi.MaxRefStringBytes
)

Adapter-local decode limits. These intentionally mirror canonical validation caps but fail before protocol adapters allocate, copy, or reparse large values.

Variables

This section is empty.

Functions

func Bytes

func Bytes(field string, got, limit int) error

func Count

func Count(field string, got, limit int) error

func StringBytes

func StringBytes(field, value string, limit int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL