Replies: 3 comments 3 replies
-
|
There are a few common causes for parameter passing errors in Dify custom tool plugins:
If you can share the exact error message or describe what happens when the error occurs, and confirm how your Python implementation receives parameters, I can help pinpoint the issue further. Also, reviewing backend logs and browser console errors can provide clues if the UI fails to render or parameters are missing. To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
-
|
I am using version 1.10.1 of dify. Does it require an upgrade to solve this problem |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Here are the contents of the video-deal.yaml file for my tool plugin
identity:
name: "video-deal"
author: "libin"
label:
en_US: "video-deal"
zh_Hans: "视频切割"
pt_BR: "video-deal"
ja_JP: "video-deal"
description:
human:
en_US: "Cut video into segments by specified duration (via video file URL)"
zh_Hans: "按指定时长切割视频(通过视频文件URL)"
pt_BR: "Video segmentation and extraction of video sound"
ja_JP: "Video segmentation and extraction of video sound"
llm: "Cut video into segments by specified duration via URL"
parameters:
type: string
required: true
label:
en_US: video_source
zh_Hans: 视频文件URL
pt_BR: video_source
human_description:
en_US: "Video file access URL (from uploaded file)"
zh_Hans: "视频文件访问URL(用户上传视频的临时链接"
pt_BR: "Video segmentation and extraction of video sound"
ja_JP: "Video segmentation and extraction of video sound"
llm_description: "Video file access URL (uploaded by user)"
form: form
type: number
required: false
default: 300
label:
zh_Hans: 分段时长
en_US: Segment Duration
human_description:
zh_Hans: "视频分段的时长(单位:秒),默认300秒(5分钟),最小值10秒,最大值3600秒(1小时)"
en_US: "Video segment duration (seconds), default 300s (5min), min 10s, max 3600s (1h)"
llm_description: "Video segment duration in seconds, min 10, max 3600, default 300"
form: form
placeholder:
zh_Hans: "请输入分段时长(默认300)"
validation:
min: 10
max: 3600
extra:
python:
source: tools/video-deal.py
Beta Was this translation helpful? Give feedback.
All reactions