Coverage for integrations / channels / response / __init__.py: 100.0%
6 statements
« prev ^ index » next coverage.py v7.14.0, created at 2026-05-12 04:49 +0000
« prev ^ index » next coverage.py v7.14.0, created at 2026-05-12 04:49 +0000
1"""
2Response Module - Handles response formatting, streaming, and interactions.
4This module provides:
5- TypingManager: Typing indicators for chat channels
6- AckManager: Acknowledgment reactions for messages
7- TemplateEngine: Response formatting with variable substitution
8- StreamingResponse: Streaming LLM responses with message editing
9"""
11from .typing import (
12 TypingManager,
13 TypingConfig,
14 TypingContext,
15 TypingState,
16)
18from .reactions import (
19 AckManager,
20 AckConfig,
21 AckContext,
22 AckState,
23)
25from .templates import (
26 TemplateEngine,
27 TemplateConfig,
28 TemplateContext,
29 Identity,
30 User,
31)
33from .streaming import (
34 StreamingResponse,
35 FallbackStreamingResponse,
36 StreamConfig,
37 StreamContext,
38 StreamState,
39 PlatformCapability,
40 ProgressIndicator,
41 PLATFORM_CAPABILITIES,
42 create_streaming_response,
43)
45from .router import (
46 ChannelResponseRouter,
47 get_response_router,
48)
50__all__ = [
51 # Typing
52 "TypingManager",
53 "TypingConfig",
54 "TypingContext",
55 "TypingState",
56 # Reactions
57 "AckManager",
58 "AckConfig",
59 "AckContext",
60 "AckState",
61 # Templates
62 "TemplateEngine",
63 "TemplateConfig",
64 "TemplateContext",
65 "Identity",
66 "User",
67 # Streaming
68 "StreamingResponse",
69 "FallbackStreamingResponse",
70 "StreamConfig",
71 "StreamContext",
72 "StreamState",
73 "PlatformCapability",
74 "ProgressIndicator",
75 "PLATFORM_CAPABILITIES",
76 "create_streaming_response",
77 # Router
78 "ChannelResponseRouter",
79 "get_response_router",
80]