internal/

directory
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Package apierr decodes the OpenAI-shaped error envelope every OpenAI-dialect provider returns into an ai.Error.
Package apierr decodes the OpenAI-shaped error envelope every OpenAI-dialect provider returns into an ai.Error.
Package clientopts provides shared option types and converters for provider facades.
Package clientopts provides shared option types and converters for provider facades.
Package httpx is the shared HTTP plumbing for provider adapters: a tuned transport, JSON request/response execution, SSE stream setup, an SSRF guard, and Retry-After parsing.
Package httpx is the shared HTTP plumbing for provider adapters: a tuned transport, JSON request/response execution, SSE stream setup, an SSRF guard, and Retry-After parsing.
Package imagewire maps the Images-shaped response items shared by the image adapters onto portable images and derives media types from wire format names.
Package imagewire maps the Images-shaped response items shared by the image adapters onto portable images and derives media types from wire format names.
Package jsonx is the ai module's single JSON encode/decode seam and owns bounded request-body extension merging shared by all provider adapters.
Package jsonx is the ai module's single JSON encode/decode seam and owns bounded request-body extension merging shared by all provider adapters.
Package sse parses Server-Sent Events streams from LLM provider responses.
Package sse parses Server-Sent Events streams from LLM provider responses.

Jump to

Keyboard shortcuts

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