feat: 更新后端配置、Docker部署、API模块及多项文档

- 更新后端 main.py、config.py 核心配置
- 更新 compute API 模块
- 更新 Docker 部署配置(app/compute docker-compose、nginx、环境变量)
- 更新前端 API 模块(dataset、model、request)及 vite 配置
- 更新多项项目文档(架构、部署、开发计划、日志等)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
wuyongtao
2026-07-21 10:09:36 +08:00
parent a67ca2c19c
commit bccd3bf448
21 changed files with 418 additions and 415 deletions

View File

@@ -89,10 +89,10 @@ export const downloadFileUrl = (
fileId: string | number,
versionId?: string,
) => {
const baseUrl = `/api/dataset-manage/download/${datasetId}/${fileId}`
const baseUrl = `/modelTF/dataset-manage/download/${datasetId}/${fileId}`
return versionId ? `${baseUrl}?version_id=${encodeURIComponent(versionId)}` : baseUrl
}
/** 打包下载数据集 URL */
export const downloadDatasetUrl = (datasetId: string | number) =>
`/api/dataset-manage/download/${datasetId}`
`/modelTF/dataset-manage/download/${datasetId}`

View File

@@ -45,4 +45,4 @@ export const mergeModel = (data: {
/** 导出已训练模型权重 */
export const exportModelUrl = (modelName: string) =>
`/api/model-manage/trained-models/${encodeURIComponent(modelName)}/export`
`/modelTF/model-manage/trained-models/${encodeURIComponent(modelName)}/export`