refactor(frontend): 前端重构 V3

This commit is contained in:
sophie committed 2026-06-14 21:41:07 +08:00
1 parent 8d8b40812d
commit ec97ea8787
80 files changed
+6887 -3733

No files matched your search

@@ -0,0 +1,12 @@
/**
* features/chat/api/toolRunProgress.api.ts
* 工具运行进度查询 API(Chat 输入栏进度卡片轮询)。
*/
import { requestJson } from '@/shared/api/client';
import { getAuthHeaders } from '@/shared/utils/auth';
import type { ToolRunProgressResponse } from '../types/tool-run-progress.types';
export type { ToolRunProgress, ToolRunProgressResponse } from '../types/tool-run-progress.types';
export const getToolRunProgress = (url: string) =>
requestJson<ToolRunProgressResponse>(url, { headers: getAuthHeaders() });