Skip to main content

Interfaces API Reference

LLM_Interface (ABC)

Abstract base class for all model interfaces.

Constructor

Abstract Methods

Properties


OpenAICompatible

Adapter for OpenAI Chat Completions API and compatible endpoints.

Constructor

Class Methods

Instance Methods

Example


OpenAIResponsesCompatible

Adapter for OpenAI Responses API. Same constructor and loading pattern as OpenAICompatible.

Differences from OpenAICompatible

Example


APIKeyPool

Round-robin key rotation for load distribution.

Constructor

Example


TokenBucket

Token bucket rate limiter.

Constructor

Used internally by OpenAICompatible. Exposed for custom implementations.