internal/

directory
v1.0.61 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: MIT

Directories

Path Synopsis
Package clientpool provides a shared HTTP client pool keyed by base URL This enables HTTP/2 connection sharing across providers targeting the same base URL
Package clientpool provides a shared HTTP client pool keyed by base URL This enables HTTP/2 connection sharing across providers targeting the same base URL
Package common provides shared utilities and helper functions for AI providers.
Package common provides shared utilities and helper functions for AI providers.
auth
Package auth provides authentication utilities and helper functions for AI provider implementations
Package auth provides authentication utilities and helper functions for AI provider implementations
config
Package config provides configuration utilities for AI provider implementations
Package config provides configuration utilities for AI provider implementations
connectivity
Package connectivity provides shared connectivity testing utilities for AI providers.
Package connectivity provides shared connectivity testing utilities for AI providers.
errors
Package errors provides rich error context for AI provider operations.
Package errors provides rich error context for AI provider operations.
http
Package http provides common HTTP utilities for provider implementations.
Package http provides common HTTP utilities for provider implementations.
middleware
Package middleware provides a flexible middleware infrastructure for AI provider requests and responses.
Package middleware provides a flexible middleware infrastructure for AI provider requests and responses.
models
Package models provides model metadata, caching, and registry functionality for AI providers, including capability tracking and discovery.
Package models provides model metadata, caching, and registry functionality for AI providers, including capability tracking and discovery.
retry
Package retry provides retry infrastructure for AI provider implementations.
Package retry provides retry infrastructure for AI provider implementations.
streaming
Package streaming provides a shared streaming request executor for AI providers.
Package streaming provides a shared streaming request executor for AI providers.
streaming/decoders
Package decoders provides pluggable stream decoders for various streaming formats including Server-Sent Events (SSE), NDJSON, and EventStream.
Package decoders provides pluggable stream decoders for various streaming formats including Server-Sent Events (SSE), NDJSON, and EventStream.
telemetry
Package telemetry provides telemetry utilities for AI provider tracking and monitoring.
Package telemetry provides telemetry utilities for AI provider tracking and monitoring.
tools
Package tools provides Anthropic-specific tool conversion utilities.
Package tools provides Anthropic-specific tool conversion utilities.
Package http provides HTTP client utilities and helpers for AI providers.
Package http provides HTTP client utilities and helpers for AI providers.
Package streaming provides utilities for streaming responses from AI providers.
Package streaming provides utilities for streaming responses from AI providers.
Package testutil provides shared testing utilities, mocks, and fixtures for use across the ai-provider-kit test suite.
Package testutil provides shared testing utilities, mocks, and fixtures for use across the ai-provider-kit test suite.
Package tokenizer provides a unified interface for token counting with optional Rust-backed high-performance implementation via CGO.
Package tokenizer provides a unified interface for token counting with optional Rust-backed high-performance implementation via CGO.

Jump to

Keyboard shortcuts

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