librechat-data-provider 0.7.52 → 0.7.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "librechat-data-provider",
3
- "version": "0.7.52",
3
+ "version": "0.7.53",
4
4
  "description": "data services for librechat apps",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
package/src/config.ts CHANGED
@@ -550,6 +550,7 @@ export enum KnownEndpoints {
550
550
  shuttleai = 'shuttleai',
551
551
  'together.ai' = 'together.ai',
552
552
  unify = 'unify',
553
+ xai = 'xai',
553
554
  }
554
555
 
555
556
  export enum FetchTokenConfig {
@@ -584,7 +585,8 @@ export const alternateName = {
584
585
  [EModelEndpoint.anthropic]: 'Anthropic',
585
586
  [EModelEndpoint.custom]: 'Custom',
586
587
  [EModelEndpoint.bedrock]: 'AWS Bedrock',
587
- ollama: 'Ollama',
588
+ [KnownEndpoints.ollama]: 'Ollama',
589
+ [KnownEndpoints.xai]: 'xAI',
588
590
  };
589
591
 
590
592
  const sharedOpenAIModels = [
@@ -608,6 +610,7 @@ const sharedOpenAIModels = [
608
610
  ];
609
611
 
610
612
  const sharedAnthropicModels = [
613
+ 'claude-3-5-haiku-20241022',
611
614
  'claude-3-5-sonnet-20241022',
612
615
  'claude-3-5-sonnet-20240620',
613
616
  'claude-3-5-sonnet-latest',