orchestrata_ultimate.core.interfaces.providers

Reference › orchestrata_ultimate › core › interfaces › providers

A compatibility facade for the provider-manager types of SPEC-011. The canonical, production-wired definitions (with tool-calling and reasoning fields) are in protocols.providers. This module re-exports the request, response and accounting types (Message, ProviderRequest, ProviderResponse, RawProviderResponse, TokenUsage, CostRecord, CostEstimate, BudgetStatus, UsageReport), the model and routing types (ModelInfo, ModelPricing, ModelCapability, RoutingStrategy, ProviderConfig) and binds IProvider and IProviderManager to ProviderProtocol and ProviderManagerProtocol.

At a glance

Source src/orchestrata_ultimate/core/interfaces/providers.py
Lines of code 52
Classes 0
Functions 0
Imports (internal) orchestrata_ultimate.core.protocols.providers
Imported by orchestrata_ultimate.core.interfaces
Tests that import it none

Class diagram

No classes; see Functions.

Dependency diagram

Dependency diagram orchestrata_ultimate.core.interfaces.providers

API

No public API: the module defines no classes, functions or constants.

Source

Permalink: https://gitlab.com/MSamy/orchestrata-ultimate-architecture/-/blob/a4cbc2bdf/src/orchestrata_ultimate/core/interfaces/providers.py

"""
Provider manager interface types for Orchestrata (SPEC-011).

Thin compatibility facade. The canonical definitions live in
:mod:`orchestrata_ultimate.core.protocols.providers` (the interfaces->protocols
twin-collapse); this module re-exports them under the historical ``I``-prefixed
names so existing ``from core.interfaces.providers import ...`` imports keep
working and resolve to the single canonical type. The protocols module is the
richer, production-wired version (tool-calling + reasoning fields).
"""

from orchestrata_ultimate.core.protocols.providers import (
    BudgetStatus,
    CostEstimate,
    CostRecord,
    Message,
    ModelCapability,
    ModelInfo,
    ModelPricing,
    ProviderConfig,
    ProviderManagerProtocol,
    ProviderProtocol,
    ProviderRequest,
    ProviderResponse,
    RawProviderResponse,
    RoutingStrategy,
    TokenUsage,
    UsageReport,
)

# Historical interface names -> canonical protocol types.
IProvider = ProviderProtocol
IProviderManager = ProviderManagerProtocol

__all__ = [
    "ModelCapability",
    "RoutingStrategy",
    "TokenUsage",
    "CostRecord",
    "CostEstimate",
    "Message",
    "ProviderRequest",
    "ProviderResponse",
    "BudgetStatus",
    "UsageReport",
    "ModelPricing",
    "ModelInfo",
    "ProviderConfig",
    "RawProviderResponse",
    "IProvider",
    "IProviderManager",
]