LLM settings domain enums.
# Source: https://github.com/Intelligent-Internet/ii-agent | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""LLM settings domain enums."""
from enum import StrEnum
class Provider(StrEnum):
"""LLM provider identifier — who makes the model.
Single source of truth — imported by settings/llm models, agent models,
billing/credits, and any module that needs provider discrimination.
The hosting platform (VertexAI, Azure, Bedrock) is expressed via
``ApiType``, not here.
"""
OPENAI = "OpenAI"
ANTHROPIC = "Anthropic"
GOOGLE = "Google"
CEREBRAS = "Cerebras"
CUSTOM = "Custom"
class ApiType(StrEnum):
"""Hosting platform / API variant for
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key