mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
feat: update LLM node skills API to extract tool dependencies and change endpoint to POST
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user