internal/

directory
v0.0.0-...-0f13597 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT

Directories

Path Synopsis
Package chatcompletions implements the Chat Completions wire format for OpenAI and compatible providers.
Package chatcompletions implements the Chat Completions wire format for OpenAI and compatible providers.
Package claudewire holds the turn and tool-call bookkeeping that the Anthropic Messages and Bedrock Converse wire formats share.
Package claudewire holds the turn and tool-call bookkeeping that the Anthropic Messages and Bedrock Converse wire formats share.
Package embeddings implements the OpenAI-style /embeddings endpoint for OpenAI and compatible providers.
Package embeddings implements the OpenAI-style /embeddings endpoint for OpenAI and compatible providers.
Package emit wraps a provider-boundary yield function so that it is never called again after it reports false.
Package emit wraps a provider-boundary yield function so that it is never called again after it reports false.
Package eventstream reads and writes the application/vnd.amazon.eventstream binary framing used by AWS streaming APIs.
Package eventstream reads and writes the application/vnd.amazon.eventstream binary framing used by AWS streaming APIs.
Package form builds multipart/form-data request bodies for provider adapters.
Package form builds multipart/form-data request bodies for provider adapters.
Package mediaio downloads generated media and encodes input media for the hosted generation providers.
Package mediaio downloads generated media and encodes input media for the hosted generation providers.
Package openaiwire holds the JSON helpers shared by the OpenAI-style Responses, Chat Completions and Embeddings adapters.
Package openaiwire holds the JSON helpers shared by the OpenAI-style Responses, Chat Completions and Embeddings adapters.
Package pdata encodes and decodes the per-provider entries of ai.ProviderData.
Package pdata encodes and decodes the per-provider entries of ai.ProviderData.
Package schemafit rewrites JSON Schemas for providers that accept only a subset and reports every change as a warning.
Package schemafit rewrites JSON Schemas for providers that accept only a subset and reports every change as a warning.
Package sigv4 signs HTTP requests with AWS Signature Version 4 using only the standard library.
Package sigv4 signs HTTP requests with AWS Signature Version 4 using only the standard library.
Package sse reads Server-Sent Events streams as defined by the WHATWG HTML standard.
Package sse reads Server-Sent Events streams as defined by the WHATWG HTML standard.
Package toolmsg holds the tool-call texts and input handling shared by the core loop and realtime sessions.
Package toolmsg holds the tool-call texts and input handling shared by the core loop and realtime sessions.
Package transport is the shared HTTP layer of provider adapters: JSON requests, limiter hook and API error mapping.
Package transport is the shared HTTP layer of provider adapters: JSON requests, limiter hook and API error mapping.

Jump to

Keyboard shortcuts

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