-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Bug]: 当前的cli@0.2.0的add-resource命令似乎和最新版的server api不匹配 #1148
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
当前cli安装脚本安装的最新版本0.2.0使用add-resource命令对0.3.2版本的server使用会报错
Error: API error: HTTP error 422 Unprocessable Entity
查看了一下原因似乎是POST /api/v1/resources 接口接受的参数从uri变成了path
希望可以尽快出最新的cli
Steps to Reproduce
pip install openviking --upgrade --force-reinstall 安装最新server
curl -fsSL https://raw.githubusercontent.com/volcengine/OpenViking/main/crates/ov_cli/install.sh | bash 安装cli
ov add-resource https://github.com/volcengine/OpenViking 就会报错
Expected Behavior
正常添加resource
Actual Behavior
Error: API error: HTTP error 422 Unprocessable Entity
Minimal Reproducible Example
Error Logs
OpenViking Version
server@0.3.2 cli@0.2.0
Python Version
3.12.12
Operating System
Linux
Model Backend
None
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done