feat(schedule):cron支持图形,RoHS检核增加进度显示

This commit is contained in:
hugo committed 2026-06-15 13:42:15 +08:00
1 parent 6d0e78be81
commit f5aac9c893
46 files changed
+1987 -221

No files matched your search

@@ -39,6 +39,7 @@ export interface ChatPageSendContext {
trimmed: string,
) => Promise<boolean>;
refreshToolRunProgressAfterSend: () => Promise<void>;
prepareToolRunProgressBeforeSend: () => Promise<void>;
msg: { warning: (text: string) => void; info: (text: string) => void };
t: (key: string) => string;
copiedIndex: Ref<number | null>;
@@ -88,6 +89,7 @@ export function createChatPageSendApi(ctx: ChatPageSendContext) {
if (typeof textOrEvent !== 'string') ctx.input.value = '';
ctx.clearAttachments();
await ctx.prepareToolRunProgressBeforeSend();
await ctx.sendMessage(content, ctx.currentAgentId.value, ctx.selectedKb.value, files);
await ctx.refreshHistoryAfterSend();
await ctx.refreshToolRunProgressAfterSend();