What happened / 发生了什么
配置选择流式输出,使用企微机器人long_connection链接时,返回内容没有换行
Reproduce / 如何复现?
1.配置流式输出
2.配置企微机器人
3.企微机器人输入 测试
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
AstrBot v4.25.2
桌面客户端部署
DeepSeek
企业微信智能机器人平台
OS
Windows
Logs / 报错日志
[2026-06-01 06:17:50.149] [Core]
[INFO]
[wecom_ai_bot.wecomai_adapter:595]: 启动企业微信智能机器人长连接模式: wss://openws.work.weixin.qq.com
[2026-06-01 06:17:50.149] [Core]
[INFO]
[core.core_lifecycle:341]: AstrBot started.
[2026-06-01 06:17:50.150] [Core]
[INFO]
[wecom_ai_bot.wecomai_long_connection:62]: [WecomAI][LongConn] 正在连接: wss://openws.work.weixin.qq.com
[2026-06-01 06:17:50.152] [Core]
[INFO]
[utils.temp_dir_cleaner:127]: TempDirCleaner started. interval=600s cleanup_ratio=0.3
[2026-06-01 06:17:50.392] [Core]
[INFO]
[t2i.network_strategy:131]: Successfully got 2 official T2I endpoints.
[2026-06-01 06:17:50.489] [Core]
[INFO]
[wecom_ai_bot.wecomai_long_connection:68]: [WecomAI][LongConn] 订阅成功,已建立长连接
[2026-06-01 06:17:51.403] [Core]
[INFO]
[utils.llm_metadata:63]: Successfully fetched metadata for 2546 LLMs.
[2026-06-01 06:17:56.605] [Core]
[INFO]
[core.event_bus:61]: [default] [wecom_ai_bot(wecom_ai_bot)] wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw: 测试
[2026-06-01 06:17:56.643] [Core]
[INFO]
[respond.stage:183]: Prepare to send - wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw:
[2026-06-01 06:17:56.643] [Core]
[INFO]
[respond.stage:199]: 应用流式输出(wecom_ai_bot)
[2026-06-01 06:17:58.849] [Core]
[INFO]
[result_decorate.stage:189]: 流式输出已启用,跳过结果装饰阶段
[2026-06-01 06:21:57.323] [Core]
[INFO]
[core.event_bus:61]: [default] [wecom_ai_bot(wecom_ai_bot)] wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw: 测试
[2026-06-01 06:21:57.354] [Core]
[INFO]
[respond.stage:183]: Prepare to send - wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw:
[2026-06-01 06:21:57.354] [Core]
[INFO]
[respond.stage:199]: 应用流式输出(wecom_ai_bot)
[2026-06-01 06:21:59.210] [Core]
[INFO]
[result_decorate.stage:189]: 流式输出已启用,跳过结果装饰阶段
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct
What happened / 发生了什么
配置选择流式输出,使用企微机器人long_connection链接时,返回内容没有换行
Reproduce / 如何复现?
1.配置流式输出
2.配置企微机器人
3.企微机器人输入 测试
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
AstrBot v4.25.2
桌面客户端部署
DeepSeek
企业微信智能机器人平台
OS
Windows
Logs / 报错日志
[2026-06-01 06:17:50.149] [Core]
[INFO]
[wecom_ai_bot.wecomai_adapter:595]: 启动企业微信智能机器人长连接模式: wss://openws.work.weixin.qq.com
[2026-06-01 06:17:50.149] [Core]
[INFO]
[core.core_lifecycle:341]: AstrBot started.
[2026-06-01 06:17:50.150] [Core]
[INFO]
[wecom_ai_bot.wecomai_long_connection:62]: [WecomAI][LongConn] 正在连接: wss://openws.work.weixin.qq.com
[2026-06-01 06:17:50.152] [Core]
[INFO]
[utils.temp_dir_cleaner:127]: TempDirCleaner started. interval=600s cleanup_ratio=0.3
[2026-06-01 06:17:50.392] [Core]
[INFO]
[t2i.network_strategy:131]: Successfully got 2 official T2I endpoints.
[2026-06-01 06:17:50.489] [Core]
[INFO]
[wecom_ai_bot.wecomai_long_connection:68]: [WecomAI][LongConn] 订阅成功,已建立长连接
[2026-06-01 06:17:51.403] [Core]
[INFO]
[utils.llm_metadata:63]: Successfully fetched metadata for 2546 LLMs.
[2026-06-01 06:17:56.605] [Core]
[INFO]
[core.event_bus:61]: [default] [wecom_ai_bot(wecom_ai_bot)] wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw: 测试
[2026-06-01 06:17:56.643] [Core]
[INFO]
[respond.stage:183]: Prepare to send - wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw:
[2026-06-01 06:17:56.643] [Core]
[INFO]
[respond.stage:199]: 应用流式输出(wecom_ai_bot)
[2026-06-01 06:17:58.849] [Core]
[INFO]
[result_decorate.stage:189]: 流式输出已启用,跳过结果装饰阶段
[2026-06-01 06:21:57.323] [Core]
[INFO]
[core.event_bus:61]: [default] [wecom_ai_bot(wecom_ai_bot)] wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw: 测试
[2026-06-01 06:21:57.354] [Core]
[INFO]
[respond.stage:183]: Prepare to send - wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw/wo7AI-UQAA1dzKAPSYMFf8IoHc_MV2sw:
[2026-06-01 06:21:57.354] [Core]
[INFO]
[respond.stage:199]: 应用流式输出(wecom_ai_bot)
[2026-06-01 06:21:59.210] [Core]
[INFO]
[result_decorate.stage:189]: 流式输出已启用,跳过结果装饰阶段
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct