@purpleschool/gptbot 0.12.26 → 0.12.27
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/build/constants/ai-model/enums/ai-model-strategy.enum.js +1 -0
- package/build/models/tools/image-editor/image-editor-job.schema.js +1 -0
- package/build/models/tools/image-generation/image-generation-job.schema.js +1 -0
- package/build/models/tools/interior-design/interior-design-job.schema.js +1 -0
- package/build/models/tools/marketplace-card/marketplace-card-job.schema.js +1 -0
- package/constants/ai-model/enums/ai-model-strategy.enum.ts +1 -0
- package/models/tools/image-editor/image-editor-job.schema.ts +1 -0
- package/models/tools/image-generation/image-generation-job.schema.ts +1 -0
- package/models/tools/interior-design/interior-design-job.schema.ts +1 -0
- package/models/tools/marketplace-card/marketplace-card-job.schema.ts +1 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ var AI_MODEL_STRATEGY;
|
|
|
15
15
|
AI_MODEL_STRATEGY["LLAMA_TEXT_GENERATION"] = "llama_text_generation";
|
|
16
16
|
AI_MODEL_STRATEGY["QWEN_TEXT_GENERATION"] = "qwen_text_generation";
|
|
17
17
|
AI_MODEL_STRATEGY["KIE_OPENAI_TEXT_GENERATION"] = "kie_openai_text_generation";
|
|
18
|
+
AI_MODEL_STRATEGY["KIE_GEMINI_TEXT_GENERATION"] = "kie_gemini_text_generation";
|
|
18
19
|
AI_MODEL_STRATEGY["GROK_IMAGE_GENERATION"] = "grok_image_generation";
|
|
19
20
|
AI_MODEL_STRATEGY["GEMINI_TEXT_GENERATION"] = "gemini_text_generation";
|
|
20
21
|
AI_MODEL_STRATEGY["GEMINI_IMAGE_GENERATION"] = "gemini_image_generation";
|
|
@@ -11,6 +11,7 @@ export enum AI_MODEL_STRATEGY {
|
|
|
11
11
|
LLAMA_TEXT_GENERATION = 'llama_text_generation',
|
|
12
12
|
QWEN_TEXT_GENERATION = 'qwen_text_generation',
|
|
13
13
|
KIE_OPENAI_TEXT_GENERATION = 'kie_openai_text_generation',
|
|
14
|
+
KIE_GEMINI_TEXT_GENERATION = 'kie_gemini_text_generation',
|
|
14
15
|
GROK_IMAGE_GENERATION = 'grok_image_generation',
|
|
15
16
|
GEMINI_TEXT_GENERATION = 'gemini_text_generation',
|
|
16
17
|
GEMINI_IMAGE_GENERATION = 'gemini_image_generation',
|
|
@@ -30,6 +30,7 @@ export const ImageEditorJobSchema = ToolJobSchema.extend({
|
|
|
30
30
|
isPublished: z.boolean(),
|
|
31
31
|
postId: z.string().nullable(),
|
|
32
32
|
modelId: z.string(),
|
|
33
|
+
previewUrl: z.string().nullable(),
|
|
33
34
|
});
|
|
34
35
|
|
|
35
36
|
export type ImageEditorJob = z.infer<typeof ImageEditorJobSchema>;
|
|
@@ -39,6 +39,7 @@ export const ImageGenerationJobSchema = ToolJobSchema.extend({
|
|
|
39
39
|
isPublished: z.boolean(),
|
|
40
40
|
postId: z.string().nullable(),
|
|
41
41
|
modelId: z.string(),
|
|
42
|
+
previewUrl: z.string().nullable(),
|
|
42
43
|
});
|
|
43
44
|
|
|
44
45
|
export type ImageGenerationJob = z.infer<typeof ImageGenerationJobSchema>;
|
|
@@ -28,6 +28,7 @@ export const InteriorDesignJobSchema = ToolJobSchema.extend({
|
|
|
28
28
|
.nullable(),
|
|
29
29
|
params: InteriorDesignJobParamsSchema,
|
|
30
30
|
modelId: z.string(),
|
|
31
|
+
previewUrl: z.string().nullable(),
|
|
31
32
|
});
|
|
32
33
|
|
|
33
34
|
export type InteriorDesignJob = z.infer<typeof InteriorDesignJobSchema>;
|
|
@@ -32,5 +32,6 @@ export const MarketplaceCardJobSchema = ToolJobSchema.extend({
|
|
|
32
32
|
price: z.number(),
|
|
33
33
|
attachments: MarketplaceCardJobAttachmentsSchema,
|
|
34
34
|
workspaceId: z.string().nullable(),
|
|
35
|
+
previewUrl: z.string().nullable(),
|
|
35
36
|
});
|
|
36
37
|
export type MarketplaceCardJob = z.infer<typeof MarketplaceCardJobSchema>;
|