feat: AI 对话支持 A2UI 表单/审查/图表与 Agent 工具
This commit is contained in:
@@ -75,6 +75,20 @@ export class RegenerateMessageDto {
|
||||
reasoningEffort?: string | null;
|
||||
}
|
||||
|
||||
export class EditMessageDto {
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
@MaxLength(16000)
|
||||
content: string;
|
||||
|
||||
@IsUUID()
|
||||
clientRequestId: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsIn(REASONING_EFFORT_LEVELS)
|
||||
reasoningEffort?: string | null;
|
||||
}
|
||||
|
||||
export class SubmitFormDto {
|
||||
@IsUUID()
|
||||
clientRequestId: string;
|
||||
@@ -96,16 +110,6 @@ export class SubmitReviewDto {
|
||||
reasoningEffort?: string | null;
|
||||
}
|
||||
|
||||
export class MessageFeedbackDto {
|
||||
@IsIn(['like', 'dislike', null])
|
||||
feedback: 'like' | 'dislike' | null;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(500)
|
||||
reason?: string;
|
||||
}
|
||||
|
||||
export class MessagePageQueryDto {
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
|
||||
Reference in New Issue
Block a user