agentscope-ai / agentscope-ai/QwenPaw
[Bug]: 对接企业微信时发现,发送中文时,只会回答第一轮,然后阻塞
未關閉
bug
- 主要語言
- Python
- 星號
- 34.9k
- 分支
- 3.1k
- 平均合併
- 1 天 15 小時
- 30 天內合併 PR
- 225
描述
## CoPaw Version
0.1.0
## Description
对接企业微信时发现,发送中文时,只会回答第一轮,然后阻塞,使用copaw desktop启动,对接企业微信,发送·`今天天气`可复现
**Related PR(s):** #(optional)
**Security considerations:** [If applicable, e.g. auth, env/config exposure]
## Component(s) Affected
- [ ] Core / Backend (app)
## Environment
- **CoPaw version:** 0.1.0
- **OS:** Windows 11
- **Install method:** pip
- **Python version 3.11
## Steps to Reproduce
1.copaw desktop
2.对接企业微信机器人
3.发送指令`今天天气`
4.模型回复一段话后,下面的会话全部阻塞
## 我定位bug的位置
src/copaw/app/runner/runner.py
### 原因
由于标记的位置msg的内容包含中文,使用str()强转导致乱码,致使log阻塞
貢獻指南
評估
這個 Issue 還沒有評估資料。