xAI.py 266 B

12345678910
  1. from __future__ import annotations
  2. from ..template.OpenaiTemplate import OpenaiTemplate
  3. class xAI(OpenaiTemplate):
  4. url = "https://console.x.ai"
  5. login_url = "https://console.x.ai"
  6. api_base = "https://api.x.ai/v1"
  7. working = True
  8. needs_auth = True