Files
cowork-local/providers/__init__.py
T
2026-08-09 20:12:05 +07:00

11 lines
418 B
Python

"""LLM provider abstraction.
All providers translate a *canonical* message list into their own API shape and
expose a single ``chat()`` method that streams assistant text via a callback and
returns the final assistant message (including any tool calls).
"""
from .base import Provider, ProviderError, ToolSpec
from .factory import build_provider
__all__ = ["Provider", "ProviderError", "ToolSpec", "build_provider"]