forked from Zakaria/hermes-agent
16 lines
347 B
Python
16 lines
347 B
Python
"""xAI (Grok) provider profile."""
|
|
|
|
from providers import register_provider
|
|
from providers.base import ProviderProfile
|
|
|
|
xai = ProviderProfile(
|
|
name="xai",
|
|
aliases=("grok", "x-ai", "x.ai"),
|
|
api_mode="codex_responses",
|
|
env_vars=("XAI_API_KEY",),
|
|
base_url="https://api.x.ai/v1",
|
|
auth_type="api_key",
|
|
)
|
|
|
|
register_provider(xai)
|