CodeReview/backend/app/api/v1/endpoints
lintsinghua 3db20a3afb feat(agent): enhance error handling and project scope filtering
- Downgrade Python version from 3.13 to 3.11.12 for compatibility
- Improve empty LLM response handling with better diagnostics and retry logic in AnalysisAgent
- Add detailed logging for empty response retries with token count and iteration tracking
- Implement fallback result generation instead of immediate failure on consecutive empty responses
- Enhance stream error handling with partial content recovery and error message propagation
- Add comprehensive exception handling in stream_llm_call to prevent error suppression
- Implement project scope filtering to ensure consistent filtered views across Orchestrator and sub-agents
- Track filtered files and directories separately when target_files are specified
- Add scope_limited flag and scope_message to project structure for transparency
- Remove manual progress_percentage setting and rely on computed property for COMPLETED status
- Improve code comments with diagnostic markers (🔥) for critical sections
2025-12-12 16:36:39 +08:00
..
__init__.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
agent_tasks.py feat(agent): enhance error handling and project scope filtering 2025-12-12 16:36:39 +08:00
auth.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
config.py feat: 添加敏感信息加密存储功能 2025-11-28 17:51:17 +08:00
database.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
embedding_config.py feat(agent): implement Agent audit module with LangGraph integration 2025-12-11 19:09:10 +08:00
members.py chore: reduce logging verbosity and clean up file formatting 2025-12-12 15:50:48 +08:00
projects.py feat(agent): implement comprehensive agent architecture with knowledge base and persistence layer 2025-12-12 15:27:12 +08:00
prompts.py feat(prompts-scan): integrate prompt templates and audit rules into scan and analysis workflows 2025-12-09 23:03:08 +08:00
rules.py fix(rules): fix unicode encoding error in rule set export filename 2025-12-10 17:43:56 +08:00
scan.py feat(file-selection): add custom exclude patterns for file filtering 2025-12-10 18:46:33 +08:00
tasks.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
users.py chore: reduce logging verbosity and clean up file formatting 2025-12-12 15:50:48 +08:00