[loop-cycle-1] fix: use config for xAI base URL (#647) (#655)

This commit is contained in:
2026-03-20 22:47:05 +00:00
parent 2381d0b6d0
commit d2a5866650
3 changed files with 8 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ class Settings(BaseSettings):
# Only used when explicitly enabled and query complexity warrants it.
grok_enabled: bool = False
xai_api_key: str = ""
xai_base_url: str = "https://api.x.ai/v1"
grok_default_model: str = "grok-3-fast"
grok_max_sats_per_query: int = 200
grok_free: bool = False # Skip Lightning invoice when user has own API key