-
Notifications
You must be signed in to change notification settings - Fork 306
Description
Bug Description
- passing a COS path, automatically create an additional directory
- change files such as py to md files
- file name encoding error
Regarding the third point:
2026/02/22 19:01:00 ImportKnowledgeBase upload kb=百度4 rel=SKILL.md cos_key=kbs/百度4/SKILL.md target_uri=viking://resources/百度4/
2026/02/22 19:01:00 OpenViking POST request endpoint=/api/v1/resources target=viking://resources/百度4/ path=https://open-intern-1307855818.cos.ap-guangzhou.myqcloud.com/kbs/%E7%99%BE%E5%BA%A64/SKILL.md
2026/02/22 19:01:17 OpenViking POST response endpoint=/api/v1/resources status=200 body={"status":"ok","result":{"status":"success","errors":[],"source_path":"/var/folders/bl/k7bz8ssj2l3bhn30r6rvt3f40000gn/T/tmptzedil33.md","root_uri":"viking://resources/百度4/tmptzedil33","queue_status":{"Embedding":{"processed":58,"error_count":0,"errors":[]},"Semantic":{"processed":28,"error_count":0,"errors":[]}}},"error":null,"time":0.0,"usage":null}
what is tmptzedil33 ?
Steps to Reproduce
my request:
curl -X POST http://localhost:1933/api/v1/resources
-H "Content-Type: application/json"
-d '{"path": "https://open-intern-1307855818.cos.ap-guangzhou.myqcloud.com/kbs/%E7%99%BE%E5%BA%A64/src/baidu_search/schemas.py", "wait": true,"target": "viking://resources/百度4/src/"}'
reponse:
{"status":"ok","result":{"status":"success","errors":[],"source_path":"https://open-intern-1307855818.cos.ap-guangzhou.myqcloud.com/kbs/%E7%99%BE%E5%BA%A64/src/baidu_search/schemas.py","root_uri":"viking://resources/百度4/src/schemas","queue_status":{"Embedding":{"processed":70,"error_count":0,"errors":[]},"Semantic":{"processed":34,"error_count":0,"errors":[]}}},"error":null,"time":0.0,"usage":null}%
Expected Behavior
Expected: viking://resources/百度4/src/schemas.py
Actual Behavior
But: viking://resources/百度4/src/schemas/schemas.md
Minimal Reproducible Example
Error Logs
OpenViking Version
0.1.17
Python Version
Python 3.13.9
Operating System
macOS
Model Backend
None
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status