dify icon indicating copy to clipboard operation
dify copied to clipboard

ToolParameterError(f"Variable {tool_input.value} does not exist")

Open RobotZQ opened this issue 8 months ago • 1 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.1

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

I set the "required: false" parameter for "files" in the tool's YAML file, but in reality, it was still validated and did not take effect.

Image

Image

Image

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

RobotZQ avatar Apr 28 '25 02:04 RobotZQ

fixed this but now i have another problem

Ignoring torch: markers 'sys_platform == "darwin"' don't match your environment Ignoring torchvision: markers 'sys_platform == "darwin"' don't match your environment Ignoring onnxruntime-silicon: markers 'sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment

so now Traceback (most recent call last): File "C:\Windows\System32\Deep-Live-Cam\run.py", line 3, in from modules import core File "C:\Windows\System32\Deep-Live-Cam\modules\core.py", line 14, in import torch ModuleNotFoundError: No module named 'torch'

chrrickyt avatar Apr 27 '25 14:04 chrrickyt

how did u fix it

riyadiscold1 avatar Apr 27 '25 20:04 riyadiscold1

same rpoblem

HG-ERIK avatar Apr 29 '25 14:04 HG-ERIK

need fix for this

Image

MQrioso avatar Apr 29 '25 18:04 MQrioso

2 hours with errors

MQrioso avatar Apr 29 '25 18:04 MQrioso

should be fixed with : pip install pygrabber

dayeggpi avatar May 01 '25 18:05 dayeggpi

First, I activated my venv and then used :
uv pip install pygrabber

ReneGombar avatar May 01 '25 19:05 ReneGombar