CodeReview/backend/app/services/agent/agents
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 feat: Introduce structured agent collaboration with `TaskHandoff` and `analysis_v2` agent, updating core agent logic, tools, and audit UI. 2025-12-11 23:29:04 +08:00
analysis.py feat(agent): enhance error handling and project scope filtering 2025-12-12 16:36:39 +08:00
base.py feat(agent): enhance error handling and project scope filtering 2025-12-12 16:36:39 +08:00
orchestrator.py feat(agent): enhance error handling and project scope filtering 2025-12-12 16:36:39 +08:00
recon.py feat(agent): enhance error handling and project scope filtering 2025-12-12 16:36:39 +08:00
verification.py feat(agent): implement comprehensive agent architecture with knowledge base and persistence layer 2025-12-12 15:27:12 +08:00