DeepSeek-Reasonix icon indicating copy to clipboard operation
DeepSeek-Reasonix copied to clipboard

[Bug]: 飞书审批请求无法响应问题

Open Freedom-eagle opened this issue 5 months ago • 2 comments

Version line

v2 — Go rewrite (1.x), main-v2 (active development)

Exact version

最新版本

What happened?

这里我直接弄了一个飞书的一个接入,然后在使用过程中呢,发现一些批准操作,也就是所谓的审批操作,在飞书上面呢,是可以有一个弹窗的,但是它的按钮是点击的时候呢,是没有任何响应的,点击之后甚至会卡住整个进程,导致后续无法继续对话。必须要在软件里面发送测试信息,或者重新打开软件,飞书那里才会正常的进行一个的对话。然后我让AI进行一下代码源代码的一个分析,并进行修复。这个代码呢,我没有提交到github上。毕竟是AI进行修复的,所以我不盲目去提交这些代码。具体的一个问题内容如图:

Image

Steps to reproduce

在飞书上让其调用一些高权限的一些命令,或者敏感的一些命令、操作、调用工具,它会提起一个审批询问。在这个审批询问的时候呢,就会出现这个bug。不管你是批准呢,还是说拒绝,它都会进行一个卡死的状态。后续对话无法进行回复。

OS / platform

windows11

Relevant logs or output


Freedom-eagle avatar Jun 19 '26 15:06 Freedom-eagle

这里它还有个小bug。就是多问题进行询问或者进行审批的时候,它是没有卡片的按钮的。它必须使用文本的一个指令/answer,才可以进行一个审批或者回复.否则呢,它是一直是卡在那里,你问信息也是问不了的,你必须使用这个answer指令进行回复。我后续就直接就让reasonix记得问问题,就单个单个去问,然后就避免单次多问题/多审批的时候,出现那个审批卡片没有操作按钮的情况。

Freedom-eagle avatar Jun 19 '26 15:06 Freedom-eagle

我在连接微信时也遇到同样问题 回答了1 批准之后,没有反应

magicmayu avatar Jun 20 '26 08:06 magicmayu

Closing this as fixed by #5308 (merged as 5afceb935694c4e499ddcf72ebd39280f60d90aa).

The fix runs bot turns on a separate goroutine from the adapter dispatch loop, so approval/ask replies can be received and routed while the original turn is waiting instead of deadlocking the bot conversation.

Verification in the PR: the merged change preserves per-session serialization and initializes the render sink before publishing; the fix is included in the v1.13.0 validation/release line.

Release status: the fixing commit is included in Desktop v1.13.0, so users should pick up the fix by upgrading to Desktop v1.13.0 or newer.

SivanCola avatar Jun 28 '26 02:06 SivanCola