CodeReview/backend/app
lintsinghua c7632afdab feat: 为文件操作和代码解析添加异步支持
将同步的文件读取、代码解析和分块操作改为异步实现,使用 asyncio.to_thread 将 CPU 密集型操作放到线程池执行,避免阻塞事件循环。主要修改包括:
- 在 TreeSitterParser 和 CodeSplitter 中添加异步解析方法
- 修改 CodeIndexer 使用异步文件读取和分块
- 为 FileReadTool 和 FileSearchTool 添加异步文件读取支持
2025-12-25 17:20:42 +08:00
..
api fix: 实现 Agent 任务中私有 Gitea 仓库克隆的 Token 认证支持 2025-12-25 15:38:00 +08:00
core merge: 同步上游 v3.0.0 并更新 uv 依赖锁文件 2025-12-25 11:45:52 +08:00
db chore: reduce logging verbosity and clean up file formatting 2025-12-12 15:50:48 +08:00
models feat: enhance Gitea support and merge upstream v3.0.0 2025-12-17 03:02:42 +00:00
schemas chore: reduce logging verbosity and clean up file formatting 2025-12-12 15:50:48 +08:00
services feat: 为文件操作和代码解析添加异步支持 2025-12-25 17:20:42 +08:00
utils feat: enhance Gitea support and merge upstream v3.0.0 2025-12-17 03:02:42 +00:00
__init__.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
main.py feat: Update deployment configurations, dependency management, and documentation, including a new sandbox build service. 2025-12-15 15:18:55 +08:00