feat: remove priority field from SkillDefinition and related services

This commit is contained in:
mlogclub
2026-04-14 17:50:33 +08:00
parent d32e65bf68
commit e4cec52661
3 changed files with 43 additions and 205 deletions
-9
View File
@@ -278,7 +278,6 @@ export type SkillDefinition = {
instruction: string
examples: string[]
toolWhitelist: string[]
priority: number
status: number
statusName: string
remark: string
@@ -295,7 +294,6 @@ export type CreateSkillDefinitionPayload = {
instruction: string
examples: string[]
toolWhitelist: string[]
priority?: number
remark: string
}
@@ -934,13 +932,6 @@ export function deleteSkillDefinition(id: number) {
})
}
export function updateSkillDefinitionPriority(ids: number[]) {
return request<void>("/api/console/skill-definition/update_priority", {
method: "POST",
body: JSON.stringify(ids),
})
}
export function debugRunSkillDefinition(payload: SkillDebugRunPayload) {
return request<SkillDebugRunResult>("/api/console/skill-definition/debug_run", {
method: "POST",