SurfSense/surfsense_backend/app/agents/researcher
Claude 662cdf6692
Consolidate connector metadata into NamedTuple and use helper functions
- Create ConnectorMetadata NamedTuple to consolidate emoji, result_name, and friendly_name
- Replace three separate dictionaries with single CONNECTOR_METADATA dict
- Update helper functions to use consolidated structure
- Replace direct dict access in nodes.py with helper functions
- Remove unused CONNECTOR_EMOJIS and CONNECTOR_RESULT_NAMES imports
- Add default metadata for unknown connectors

Addresses PR #16 review feedback for unused imports and data consolidation
2025-11-18 23:25:37 +00:00
..
qna_agent chore: update configuration for rerankers 2025-10-29 23:23:08 -07:00
__init__.py Fixed current agent citation issues and added sub_section_writer agent for upcoming SurfSense research agent 2025-04-13 20:47:23 -07:00
configuration.py feat: added top_k in chat Interface. 2025-11-06 13:25:05 -08:00
graph.py feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
nodes.py Consolidate connector metadata into NamedTuple and use helper functions 2025-11-18 23:25:37 +00:00
prompts.py feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
state.py feat(removed): sub_section_writer 2025-10-27 20:30:10 -07:00
utils.py Consolidate connector metadata into NamedTuple and use helper functions 2025-11-18 23:25:37 +00:00