gpt4free/g4f/Provider/needs_auth/xAI.py

9 lines
198 B
Python

from __future__ import annotations
from .OpenaiAPI import OpenaiAPI
class xAI(OpenaiAPI):
label = "xAI"
url = "https://console.x.ai"
api_base = "https://api.x.ai/v1"
working = True