ModelProviderEnum (engine/model_provider.py)

astron-agent · core/workflow/consts/engine/model_provider.py · python · Apache-2.0
ai

Enum listing supported LLM providers for workflow system.

# Source: https://github.com/iflytek/astron-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.
"""
Model provider constants.

This module defines the available model providers for LLM operations
in the workflow system.
"""

from enum import Enum


class ModelProviderEnum(Enum):
    """
    Model provider enumeration.

    Defines the available model providers for large language model operations.
    """

    XINGHUO = "xinghuo"
    OPENAI = "openai"
    ANTHROPIC = "anthropic"
    GOOGLE = "google"

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key