feat: update LLM node skills API to extract tool dependencies and change endpoint to POST

This commit is contained in:
Harry
2026-03-11 14:41:19 +08:00
parent 0776e16fdc
commit dbc87dbd3b
4 changed files with 32 additions and 105 deletions

View File

@ -83,17 +83,16 @@ export const workflowDraftUpdateFeaturesContract = base
export const workflowDraftNodeSkillsContract = base
.route({
path: '/apps/{appId}/workflows/draft/nodes/{nodeId}/skills',
method: 'GET',
path: '/apps/{appId}/workflows/draft/nodes/llm/skills',
method: 'POST',
})
.input(type<{
params: {
appId: string
nodeId: string
}
body: Record<string, unknown>
}>())
.output(type<{
node_id: string
tool_dependencies: {
type: string
provider: string