[research] Duplicate research_handler.py in services/research/ and src/ — 565 lines of diff #773
Labels
No labels
area:chat
area:core
area:llm
area:routes
area:tools
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sleepy/odysseus#773
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Two copies of research_handler exist:
services/research/research_handler.py— 463 linessrc/research_handler.py— 823 lines (360 lines longer)The
src/version has additional methods includingsynthesize_query(),_bounded_int(), and imports fromsrc.research_utils. Theservices/version is a simpler/older copy.AGENTS.md violations
src/research_handler.pyat 823 lines andsrc/deep_research.pyat 816 lines both exceed ~400 line limitREADME.mdinservices/research/Fix
src/research_handler.py— query synthesis, legacy engine, and task registry are separate concernssrc/deep_research.py— the DeepResearcher class with 21 methods spans multiple responsibilitiesREADME.mdto the research feature directory