feat: remove priority field from SkillDefinition and related services
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user