安装一个自己开发的图片识别插件,把dsh搞崩了( 本轮运行失败Invalid schema for function 'vision_query': schema must be a JSON Schema of 'type: "object"', got 'type: null'.) #297
wangyang10
started this conversation in
General
Replies: 5 comments 2 replies
|
补充一下完整的原因分析和修复进展。我上面那条"自己解决了"其实只是绕过了表象——重置配置之所以有效,是因为它让注册了坏 schema 的插件不再被加载;真正的根因另有其处,而且这是个值得 Harness 本身加固的产品缺陷。 根因(两层)
修复
PR 状态Harness 的修复分支已推送到 fork( master...wangyang10:fix/validate-tool-parameters-root 插件侧 PR:wangyang10/image-vision#1 |
0 replies
|
我也写了一个git@github.com:sala003/dsh-tool-describe-image.git,我是接的百炼视觉模型然后转文字的,你的方案是如何进行识别的呢 |
2 replies
|
巧乐滋,我也遇到一样的情况 |
0 replies
|
哈哈哈,我也给dsh写崩了,也是由于原始dk模型不能识图,我准备做一个插件,结果重启直接启动失败。 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
在测试安装一个自己写的图片识别插件(https://github.com/wangyang10/image-vision)的时候,Agent应该是把~/.dsh/profiles/web/cordis.patch.yml 改出了问题,然后就整个不能工作了,报错如下:
本轮运行失败Invalid schema for function 'vision_query': schema must be a JSON Schema of 'type: "object"', got 'type: null'.
All reactions