feat: Known Endpoint, xAI (#4632)

* feat: Known Endpoint, xAI

* chore: update librechat-data-provider version to 0.7.53

* ci: name property removal

* feat: add XAI_API_KEY to example environment variables
This commit is contained in:
Danny Avila 2024-11-04 16:27:54 -05:00 committed by GitHub
parent fc41032923
commit 3428c3c647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 22 additions and 12 deletions

View file

@ -550,6 +550,7 @@ export enum KnownEndpoints {
shuttleai = 'shuttleai',
'together.ai' = 'together.ai',
unify = 'unify',
xai = 'xai',
}
export enum FetchTokenConfig {
@ -584,7 +585,8 @@ export const alternateName = {
[EModelEndpoint.anthropic]: 'Anthropic',
[EModelEndpoint.custom]: 'Custom',
[EModelEndpoint.bedrock]: 'AWS Bedrock',
ollama: 'Ollama',
[KnownEndpoints.ollama]: 'Ollama',
[KnownEndpoints.xai]: 'xAI',
};
const sharedOpenAIModels = [