| 1 | import { LLMOptions } from "../../index.js"; |
| 2 | |
| 3 | import OpenAI from "./OpenAI.js"; |
| 4 | |
| 5 | class xAI extends OpenAI { |
| 6 | static providerName = "xAI"; |
| 7 | static defaultOptions: Partial<LLMOptions> = { |
| 8 | apiBase: "https://api.x.ai/v1/", |
| 9 | }; |
| 10 | } |
| 11 | |
| 12 | export default xAI; |