mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-07 19:20:34 +00:00
* fix(channels): deliver the DingTalk reply when an AI card request fails dingtalk-stream's AICardReplier logs a failed card request and returns as if it succeeded; its create call returns the card ID it generated before the request. The channel stored that ID, so neither the running reply's text fallback nor send()'s sampleMarkdown fallback could run, every streamed update failed silently, and the final answer never reached DingTalk. Send createAndDeliver and the streaming update through the channel's httpx client with its token, using the bodies the SDK sends, and raise on HTTP and transport failures so both fallbacks run. The SDK replier, its per-card map and the token shim it needed are removed. * docs(changelog): reference #7781 for the DingTalk AI card fallback --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>