@purpleschool/gptbot 0.9.6 → 0.9.7-stage-2

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.
@@ -884,7 +884,7 @@ exports.ERRORS = {
884
884
  NOT_FOUND: {
885
885
  code: 'FOLDER.NOT_FOUND',
886
886
  httpCode: 404,
887
- message: 'Директория не найдена',
887
+ message: 'Папка не найдена',
888
888
  },
889
889
  OWNERSHIP_ERROR: {
890
890
  code: 'FOLDER.OWNERSHIP_ERROR',
@@ -9,6 +9,7 @@ exports.MessageSchema = zod_1.z.object({
9
9
  text: zod_1.z.string().max(10000),
10
10
  chatId: zod_1.z.nullable(zod_1.z.string().uuid()),
11
11
  role: zod_1.z.string(),
12
+ aiModelId: zod_1.z.string().nullable(),
12
13
  tokenUsage: zod_1.z.number(),
13
14
  userReaction: zod_1.z.nativeEnum(constants_1.USER_REACTION).nullable(),
14
15
  files: zod_1.z.array(file_schema_1.FileSchema),
@@ -901,7 +901,7 @@ export const ERRORS = {
901
901
  NOT_FOUND: {
902
902
  code: 'FOLDER.NOT_FOUND',
903
903
  httpCode: 404,
904
- message: 'Директория не найдена',
904
+ message: 'Папка не найдена',
905
905
  },
906
906
  OWNERSHIP_ERROR: {
907
907
  code: 'FOLDER.OWNERSHIP_ERROR',
@@ -7,6 +7,7 @@ export const MessageSchema = z.object({
7
7
  text: z.string().max(10000),
8
8
  chatId: z.nullable(z.string().uuid()),
9
9
  role: z.string(),
10
+ aiModelId: z.string().nullable(),
10
11
  tokenUsage: z.number(),
11
12
  userReaction: z.nativeEnum(USER_REACTION).nullable(),
12
13
  files: z.array(FileSchema),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.9.6",
3
+ "version": "0.9.7-stage-2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",