新会话首条消息回复严重延迟(约 30 秒),生成过程也偏慢
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户6865
**客户端版本**: 0.1.52
---
## 现象
新开一个会话后发送的第一条消息,回复存在明显延迟:发送后约 30 秒才看到开始生成,且生成过程中回复速度也偏慢。同一会话内的后续消息回复正常。
## 复现步骤
1. 新建/新开一个会话;
2. 在输入框输入第一条消息并发送;
3. 观察:等待约 30 秒才开始出现回复内容,生成过程亦偏慢;
4. 继续发送第二条消息,回复速度恢复正常。
## 期望行为
可以接受新会话初始化带来的小幅额外延迟,但 30 秒的等待明显不合理;期望首条消息的回复速度尽可能接近会话内后续消息。
## 实际行为
首条消息整体等待约 30 秒,且从开始生成到完成也偏慢。
## 复现频率
每次必现。
## 已尝试
未提供 / 尚未尝试排查。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN
Contributor guide
Research direction
No files, tests, or entry points are named. Reproduce the first-message and follow-up-message comparison on client version 0.1.52 under Windows 10, then trace the timing of session initialization, request start, and response generation. Done means the cause of the roughly 30-second first-message delay is identified and the first response no longer shows the reported excessive latency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100