@common_ch/common 1.0.343 → 1.0.345
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.
|
@@ -20,8 +20,8 @@ export type Attachment = {
|
|
|
20
20
|
name: string;
|
|
21
21
|
};
|
|
22
22
|
export type Messages = {
|
|
23
|
-
_id?:
|
|
24
|
-
aiOption:
|
|
23
|
+
_id?: Types.ObjectId;
|
|
24
|
+
aiOption: Types.ObjectId | AiOptionAttrs | AiOptionDoc;
|
|
25
25
|
role: 'user' | 'assistant' | 'system';
|
|
26
26
|
runId?: string;
|
|
27
27
|
content: Content[];
|
|
@@ -42,7 +42,7 @@ export interface PlanDoc extends mongoose.Document {
|
|
|
42
42
|
chatgpt: ToolsChatgpt[];
|
|
43
43
|
};
|
|
44
44
|
models: AiOptionNamesEnum[];
|
|
45
|
-
ais:
|
|
45
|
+
ais: Types.ObjectId[] | AiDoc[];
|
|
46
46
|
description?: string;
|
|
47
47
|
descriptionArray?: string[];
|
|
48
48
|
status?: PlanStatusEnum;
|