Skip to content

Commit dbb05f5

Browse files
committed
fix: 将分支参数从 extra 移到 repo.branch,并删除未使用的 generate-doc-dialog 组件
Co-authored-by: monkeycode-ai <monkeycode-ai@chaitin.com>
1 parent 7c8650f commit dbb05f5

File tree

2 files changed

+3
-216
lines changed

2 files changed

+3
-216
lines changed

frontend/src/components/console/project/generate-doc-dialog.tsx

Lines changed: 0 additions & 215 deletions
This file was deleted.

frontend/src/components/console/project/start-develop-task-dialog.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,16 @@ export default function StartDevelopTaskDialog({
102102
model_id: selectModel(models, false),
103103
image_id: selectImage(images, false),
104104
host_id: selectHost(hosts, false),
105+
repo: {
106+
branch: project?.platform === ConstsGitPlatform.GitPlatformInternal ? '' : selectedBranch,
107+
},
105108
resource: {
106109
core: 2,
107110
memory: 8 * 1024 * 1024 * 1024,
108111
life: 2 * 60 * 60,
109112
},
110113
extra: {
111114
project_id: project?.id,
112-
branch: project?.platform === ConstsGitPlatform.GitPlatformInternal ? '' : selectedBranch,
113115
},
114116
task_type: ConstsTaskType.TaskTypeDevelop,
115117
}, [], (resp) => {

0 commit comments

Comments
 (0)