CodeReview/backend
lintsinghua 147dfbaf5e feat(agent): enhance streaming with in-memory event manager and fallback polling
- Implement dual-mode streaming: prioritize in-memory EventManager for running tasks with thinking_token support
- Add fallback to database polling for completed tasks without thinking_token replay capability
- Introduce SSE event formatter utility for consistent event serialization across streaming modes
- Add 10ms micro-delay for thinking_token events to ensure proper TCP packet separation and frontend incremental rendering
- Refactor stream_agent_with_thinking endpoint to support both runtime and historical event streaming
- Update event filtering logic to handle both in-memory and database event sources
- Improve logging with debug markers for thinking_token tracking and stream mode selection
- Optimize polling intervals: 0.3s for running tasks, 2.0s for completed tasks
- Reduce idle timeout from 10 minutes to 1 minute for completed task streams
- Update frontend useAgentStream hook to handle unified event format from dual-mode streaming
- Enhance AgentAudit UI to properly display streamed events from both sources
2025-12-12 10:39:32 +08:00
..
alembic feat(agent): implement streaming support for agent events and enhance UI components 2025-12-11 20:33:46 +08:00
app feat(agent): enhance streaming with in-memory event manager and fallback polling 2025-12-12 10:39:32 +08:00
data/vector_db/ef6dc788-cc23-4a4d-b1a9-5ce4b32248b8 feat(agent): enhance streaming with in-memory event manager and fallback polling 2025-12-12 10:39:32 +08:00
static/images chore(assets): update logo image without background 2025-12-09 16:03:16 +08:00
tests feat(agent): implement streaming support for agent events and enhance UI components 2025-12-11 20:33:46 +08:00
uploads feat(projects): add ZIP file upload support and source type tracking 2025-11-28 17:38:12 +08:00
.dockerignore refactor: 优化 Docker 部署配置 2025-12-05 20:51:22 +08:00
.gitignore feat(projects): add ZIP file upload support and source type tracking 2025-11-28 17:38:12 +08:00
.python-version refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
Dockerfile feat(agent): implement streaming support for agent events and enhance UI components 2025-12-11 20:33:46 +08:00
README_UV.md refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
UV_MIGRATION.md refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
alembic.ini feat(agent): implement streaming support for agent events and enhance UI components 2025-12-11 20:33:46 +08:00
env.example chore: rebrand XCodeReviewer to DeepAudit across all files 2025-12-08 21:35:09 +08:00
main.py chore: rebrand XCodeReviewer to DeepAudit across all files 2025-12-08 21:35:09 +08:00
pyproject.toml docs: update version to 2.0.0-beta.7 and add detailed prompt/rules documentation 2025-12-09 23:45:08 +08:00
requirements-lock.txt feat: add json-repair library as fallback for LLM response parsing 2025-12-08 21:45:58 +08:00
requirements.txt feat(agent): implement Agent audit module with LangGraph integration 2025-12-11 19:09:10 +08:00
start.sh chore: rebrand XCodeReviewer to DeepAudit across all files 2025-12-08 21:35:09 +08:00
test_logo.py chore: rebrand XCodeReviewer to DeepAudit across all files 2025-12-08 21:35:09 +08:00
uv.lock feat(file-selection): add custom exclude patterns for file filtering 2025-12-10 18:46:33 +08:00