concurrency

package
v1.0.63 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// MaxCanonicalModelKeyBytes bounds canonical model keys stored by the limiter.
	MaxCanonicalModelKeyBytes = 256
)
View Source
const MaxConfiguredLimit int64 = 1_000_000

MaxConfiguredLimit bounds a configured credential concurrency limit.

Variables

This section is empty.

Functions

func CanonicalConcurrencyModelKey

func CanonicalConcurrencyModelKey(model string) string

CanonicalConcurrencyModelKey removes recognized reasoning suffixes from a model key.

func ValidCanonicalConcurrencyModelKey

func ValidCanonicalConcurrencyModelKey(model string) (string, bool)

ValidCanonicalConcurrencyModelKey canonicalizes a model key and verifies its UTF-8 byte size.

Types

This section is empty.

Jump to

Keyboard shortcuts

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