librechat-data-provider 0.6.2 → 0.6.4

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.6.2",
3
+ "version": "0.6.4",
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
@@ -245,6 +245,7 @@ export const configSchema = z.object({
245
245
  cache: z.boolean().default(true),
246
246
  secureImageLinks: z.boolean().optional(),
247
247
  imageOutputType: z.nativeEnum(EImageOutputType).default(EImageOutputType.PNG),
248
+ includedTools: z.array(z.string()).optional(),
248
249
  filteredTools: z.array(z.string()).optional(),
249
250
  interface: z
250
251
  .object({
@@ -389,6 +390,7 @@ export const defaultModels = {
389
390
  'claude-instant-1-100k',
390
391
  ],
391
392
  [EModelEndpoint.openAI]: [
393
+ 'gpt-4o',
392
394
  'gpt-3.5-turbo-0125',
393
395
  'gpt-4-turbo',
394
396
  'gpt-4-turbo-2024-04-09',
@@ -460,6 +462,7 @@ export const supportsBalanceCheck = {
460
462
  };
461
463
 
462
464
  export const visionModels = [
465
+ 'gpt-4o',
463
466
  'gpt-4-turbo',
464
467
  'gpt-4-vision',
465
468
  'llava',
@@ -675,9 +678,9 @@ export enum SettingsTabValues {
675
678
  /** Enum for app-wide constants */
676
679
  export enum Constants {
677
680
  /** Key for the app's version. */
678
- VERSION = 'v0.7.1',
681
+ VERSION = 'v0.7.2',
679
682
  /** Key for the Custom Config's version (librechat.yaml). */
680
- CONFIG_VERSION = '1.0.9',
683
+ CONFIG_VERSION = '1.1.0',
681
684
  /** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */
682
685
  NO_PARENT = '00000000-0000-0000-0000-000000000000',
683
686
  /** Fixed, encoded domain length for Azure OpenAI Assistants Function name parsing. */
package/src/schemas.ts CHANGED
@@ -76,7 +76,7 @@ export const isImageVisionTool = (tool: FunctionTool | FunctionToolCall) =>
76
76
 
77
77
  export const openAISettings = {
78
78
  model: {
79
- default: 'gpt-3.5-turbo',
79
+ default: 'gpt-4o',
80
80
  },
81
81
  temperature: {
82
82
  min: 0,
@@ -211,7 +211,7 @@ export enum EAgent {
211
211
 
212
212
  export const agentOptionSettings = {
213
213
  model: {
214
- default: 'gpt-4-turbo',
214
+ default: 'gpt-4o',
215
215
  },
216
216
  temperature: {
217
217
  min: 0,