Skip to content

PRG-05: Channel routing bundle (from #338 #342 #344)#368

Open
nap-liu wants to merge 3 commits intodataelement:mainfrom
nap-liu:prg/05-channel-routing__from-p338-p342-p344
Open

PRG-05: Channel routing bundle (from #338 #342 #344)#368
nap-liu wants to merge 3 commits intodataelement:mainfrom
nap-liu:prg/05-channel-routing__from-p338-p342-p344

Conversation

@nap-liu
Copy link
Copy Markdown

@nap-liu nap-liu commented Apr 10, 2026

This regrouped PR combines the original changes from:\n- #338 dingtalk-user-matching\n- #342 channel-session-reset\n- #344 cross-channel-user-merge\n\nScope: channel identity/session routing behavior.

nap.liu and others added 3 commits April 10, 2026 11:28
…centralized token management

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…dcoded limits

Remove redundant history[-ctx_size:] slicing in _call_agent_llm since
all callers already truncate history via SQL .limit(ctx_size). The
remaining channel handlers (websocket, dingtalk, discord, slack, wecom,
teams, discord_gateway, wecom_stream) already use
agent.context_window_size with DEFAULT_CONTEXT_WINDOW_SIZE=100 fallback.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant