xAI.py 237 B

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