Overview
-
module Laiya-
class ConfigurationMutable provider and model routing configuration.
-
class BuilderMutable DSL for configuring a Laiya::Configuration.
-
-
module Environment-
module ApplicationDefault Async::Service environment for the Laiya HTTP API.
-
-
module ModelsModel catalog sources.
-
class CatalogRead-only view of configured and provider-backed model catalogs.
-
class DiscoverDiscovers models from an OpenAI-compatible provider and caches its catalog.
-
class Error < StandardErrorRaised when an upstream model catalog is unavailable or invalid.
-
-
module ProviderProvider interfaces and built-in provider implementations.
-
class Codex < InterfaceAdapts OpenAI Chat Completions HTTP to the ChatGPT Codex Responses backend.
-
class AuthenticationLoads and refreshes the local Codex CLI ChatGPT credentials.
-
class Error < StandardErrorRaised when Codex credentials are missing, invalid, or cannot be refreshed.
-
-
module RequestConverts OpenAI Chat Completions requests into Codex Responses input.
-
module ResponseConverts Codex Responses API results into OpenAI Chat Completions.
-
module ResponsesApplies the Codex-specific settings while preserving the Responses API payload.
-
class CollectorRebuilds output items from streamed events when the terminal Codex
-
module ServerSentEventsIncrementally decodes Codex Responses API server-sent events.
-
-
class InterfaceBase interface for OpenAI-compatible HTTP providers.
-
class Ollama < OpenAIProxies Ollama's OpenAI-compatible HTTP API.
-
class OpenAI < InterfaceForwards OpenAI-compatible HTTP requests to the OpenAI API.
-
-
class RouterSelects a configured provider for each OpenAI-compatible HTTP request.
-
module Service-
class Application < Async::Service::Managed::ServiceRuns the Laiya API application on Async::HTTP::Server.
-
-
module Web-
class Application < Protocol::HTTP::MiddlewareOpenAI-compatible HTTP API application.
-
-