-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Runtime environment
docker启动
Exception
[12-05 14:43:41.640] pipelinemgr.py (253) - [ERROR] : Error processing query 99 stage=MessageProcessor : list index out of range
[12-05 14:43:41.641] pipelinemgr.py (254) - [ERROR] : Traceback: Traceback (most recent call last):
File "/app/src/langbot/pkg/pipeline/pipelinemgr.py", line 250, in process_query
await self._execute_from_stage(0, query)
File "/app/src/langbot/pkg/pipeline/pipelinemgr.py", line 210, in _execute_from_stage
await self._check_output(query, sub_result)
File "/app/src/langbot/pkg/pipeline/pipelinemgr.py", line 137, in _check_output
bot_message=query.resp_messages[-1],
~~~~~~~~~~~~~~~~~~~^^^^
IndexError: list index out of range
Reproduction steps
创建一个钉钉adapter机器人,关闭开启机器人数次,即使前端显示关闭成功,但后台并没有真正关闭掉钉钉的进程。这样钉钉发送的消息会偶尔推送到之前未关闭的ws连接处理,导致无消息结果返回。
Enabled plugins
No response