Coverage for src/local_deep_research/chat/__init__.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.16.0, created at 2026-09-06 15:42 +0000

1""" 

2Chat module for conversational research. 

3 

4This module provides a chat-based interface for conducting research, 

5allowing multi-turn conversations with context accumulation. 

6""" 

7 

8from .service import ChatService 

9 

10# ChatContextManager is intentionally NOT re-exported here: every 

11# in-tree caller (research_service.py, web/routers/chat.py) imports it 

12# directly from ``.context``. Surfacing it at the package level was 

13# misleading about what counts as the public chat API. 

14# 

15# The HTTP routes were migrated from a Flask blueprint to a FastAPI router 

16# at ``web/routers/chat.py`` (mounted in ``fastapi_app._mount_all``); the 

17# old ``chat_bp`` blueprint no longer exists. 

18__all__ = [ 

19 "ChatService", 

20]