Files
DeepTutor/deeptutor/partners/__init__.py
Bingxi Zhao (Frank) da1061910b feat(partners): production IM infra — retry/dedup/coalescing, per-channel delivery flags, stream-delta protocol, slack/telegram connection fixes
- manager: exponential-backoff retry (send_max_retries), origin-scoped
  duplicate suppression, _stream_delta coalescing, per-channel
  send_progress/send_tool_hints gating (global AND channel override)
- base: send_delta/supports_streaming protocol, _wants_stream injection
- runner: live stream segments per loop round (turn_id:call_id), narration
  rounds freeze on completion, final reply marked _streamed when delivered
- telegram: split API/polling HTTPX pools (pool exhaustion fix), trim
  legacy nanobot command menu, raise on send failure for manager retry
- slack: Socket Mode handshake timeout + WSS diagnostics, send raises
- schema: DeliveryOverrides/StreamingSupport mixins on channel configs
- partners/network.py: strict SSRF validator for channel media downloads
- icons: correct WeCom mark (TDesign outline, official brand palette)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 17:43:08 +08:00

12 lines
478 B
Python

"""Partners — IM-connected companions driven by the DeepTutor chat agent loop.
This package hosts the channel (IM) layer: the chat-platform integrations,
the message bus that decouples them from the agent runtime, and their
configuration schema. The agent runtime itself lives in
``deeptutor.services.partners`` and reuses the chat capability's agent loop
(``ChatOrchestrator`` → ``AgenticChatPipeline``) — there is no separate
partner engine.
"""
__version__ = "2.0.0"