fix: list_collections 异常向上传播而非静默吞掉

This commit is contained in:
2026-07-10 15:28:03 +08:00
parent 3308636086
commit 2e95f68864
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ Markdown 文档向量数据库 — 将 .md 文件分块 → 嵌入 → 存入 Ch
```bash
# --- 安装与测试 ---
uv sync # 安装依赖(lockfile 已锁定 CUDA torch
uv run pytest tests/ -v # 全部测试 (46 个)
uv run pytest tests/ -v # 全部测试 (115+ 个)
uv run pytest tests/test_api.py -v # 单个测试模块
uv run pytest tests/ -v -k "test_search" # 按名称过滤