@purpleschool/gptbot 0.19.23 → 0.19.24-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.
@@ -15,6 +15,7 @@ export declare namespace GetDialogContextLengthCommand {
15
15
  totalInputChars: z.ZodNumber;
16
16
  imageCount: z.ZodNumber;
17
17
  modelPricing: z.ZodObject<{
18
+ model: z.ZodOptional<z.ZodString>;
18
19
  inputPrice: z.ZodNumber;
19
20
  outputPrice: z.ZodNumber;
20
21
  }, z.core.$strip>;
@@ -22,6 +22,8 @@ var GetDialogContextLengthCommand;
22
22
  /** Кол-во изображений среди fileIds — для пер-картиночной наценки */
23
23
  imageCount: zod_1.z.number().int().min(0),
24
24
  modelPricing: zod_1.z.object({
25
+ /** Код модели для централизованного pricing в api; optional для поэтапной раскатки. */
26
+ model: zod_1.z.string().min(1).optional(),
25
27
  inputPrice: zod_1.z.number(),
26
28
  outputPrice: zod_1.z.number(),
27
29
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.19.23",
3
+ "version": "0.19.24-stage-2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",