fix: edit mode throwing error for xai provider (#11002)
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
This commit is contained in:
parent
5ffdd00ec3
commit
1376be6743
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue