mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 03:20:01 +00:00
- Introduced OpenRouter as a new provider option in settings and environment configuration. - Updated README.md to include instructions for using OpenRouter. - Enhanced the message converter to support reasoning content for OpenRouter. - Added tests for OpenRouter provider functionality and message conversion. - Updated dependencies to include OpenRouterProvider.
26 lines
611 B
Python
26 lines
611 B
Python
"""Providers package - implement your own provider by extending BaseProvider."""
|
|
|
|
from .base import BaseProvider, ProviderConfig
|
|
from .nvidia_nim import NvidiaNimProvider
|
|
from .open_router import OpenRouterProvider
|
|
from .exceptions import (
|
|
ProviderError,
|
|
AuthenticationError,
|
|
InvalidRequestError,
|
|
RateLimitError,
|
|
OverloadedError,
|
|
APIError,
|
|
)
|
|
|
|
__all__ = [
|
|
"BaseProvider",
|
|
"ProviderConfig",
|
|
"NvidiaNimProvider",
|
|
"OpenRouterProvider",
|
|
"ProviderError",
|
|
"AuthenticationError",
|
|
"InvalidRequestError",
|
|
"RateLimitError",
|
|
"OverloadedError",
|
|
"APIError",
|
|
]
|