librechat-data-provider 0.7.2 → 0.7.3

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.2",
3
+ "version": "0.7.3",
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
@@ -12,6 +12,8 @@ export const defaultSocialLogins = ['google', 'facebook', 'openid', 'github', 'd
12
12
  export const defaultRetrievalModels = [
13
13
  'gpt-4o',
14
14
  'gpt-4o-2024-05-13',
15
+ 'gpt-4o-mini',
16
+ 'gpt-4o-mini-2024-07-18',
15
17
  'gpt-4-turbo-preview',
16
18
  'gpt-3.5-turbo-0125',
17
19
  'gpt-4-0125-preview',
@@ -530,7 +532,7 @@ const sharedOpenAIModels = [
530
532
 
531
533
  export const defaultModels = {
532
534
  [EModelEndpoint.azureAssistants]: sharedOpenAIModels,
533
- [EModelEndpoint.assistants]: ['gpt-4o', ...sharedOpenAIModels],
535
+ [EModelEndpoint.assistants]: ['gpt-4o-mini', 'gpt-4o', ...sharedOpenAIModels],
534
536
  [EModelEndpoint.google]: [
535
537
  'gemini-pro',
536
538
  'gemini-pro-vision',
@@ -559,13 +561,12 @@ export const defaultModels = {
559
561
  'claude-instant-1-100k',
560
562
  ],
561
563
  [EModelEndpoint.openAI]: [
564
+ 'gpt-4o-mini',
562
565
  'gpt-4o',
563
566
  ...sharedOpenAIModels,
564
567
  'gpt-4-vision-preview',
565
568
  'gpt-3.5-turbo-instruct-0914',
566
- 'gpt-3.5-turbo-0301',
567
569
  'gpt-3.5-turbo-instruct',
568
- 'text-davinci-003',
569
570
  ],
570
571
  };
571
572
 
@@ -621,6 +622,7 @@ export const supportsBalanceCheck = {
621
622
 
622
623
  export const visionModels = [
623
624
  'gpt-4o',
625
+ 'gpt-4o-mini',
624
626
  'gpt-4-turbo',
625
627
  'gpt-4-vision',
626
628
  'llava',
@@ -681,6 +683,8 @@ export enum Time {
681
683
  TEN_MINUTES = 600000,
682
684
  FIVE_MINUTES = 300000,
683
685
  TWO_MINUTES = 120000,
686
+ ONE_MINUTE = 60000,
687
+ THIRTY_SECONDS = 30000,
684
688
  }
685
689
 
686
690
  /**
package/src/schemas.ts CHANGED
@@ -219,7 +219,7 @@ export enum EAgent {
219
219
 
220
220
  export const agentOptionSettings = {
221
221
  model: {
222
- default: 'gpt-4o',
222
+ default: 'gpt-4o-mini',
223
223
  },
224
224
  temperature: {
225
225
  min: 0,