mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-08-28 03:26:44 +08:00
fix(chat): 修复 ChromaDB 1.x 兼容性问题导致索引失败
- ChromaDB 1.x delete/get 不存在的 collection 抛 NotFoundError 而非 ValueError,统一改为 except Exception - 简化 _collection_name,UUID 格式本身就是合法的 collection name - requirements.txt 放宽 chromadb 版本约束 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
3cd4c749c1
commit
fdc888512a
@@ -16,7 +16,7 @@ celery==5.5.1
|
||||
certifi==2025.1.31
|
||||
cffi==1.17.1
|
||||
charset-normalizer==3.4.1
|
||||
chromadb==0.6.3
|
||||
chromadb>=0.5.0
|
||||
click==8.1.8
|
||||
click-didyoumean==0.3.1
|
||||
click-plugins==1.1.1
|
||||
|
||||
Reference in New Issue
Block a user