fix: edit mode throwing error for xai provider (#11002)

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
This commit is contained in:
Aditya Mitra 2026-03-10 13:02:52 +05:30 • committed by GitHub
parent 5ffdd00ec3
commit 1376be6743
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,10 @@ class xAI extends OpenAI {
static defaultOptions: Partial<LLMOptions> = {
apiBase: "https://api.x.ai/v1/",
};
supportsCompletions(): boolean {
return false;
}
}
export default xAI;