CherryHQ / CherryHQ/cherry-studio
[Bug]: Model switching issue
- Dominant language
- TypeScript
- Stars
- 51.8k
- Forks
- 5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 592
Description
> This issue was translated automatically.
### Issue Checklist
- [x] I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
- [x] My issue is not listed in the [FAQ](https://github.com/CherryHQ/cherry-studio/issues/3881).
- [x] I've looked at **pinned issues** and searched for existing [Open Issues](https://github.com/CherryHQ/cherry-studio/issues), [Closed Issues](https://github.com/CherryHQ/cherry-studio/issues?q=is%3Aissue%20state%3Aclosed), and [Discussions](https://github.com/CherryHQ/cherry-studio/discussions), no similar issue or discussion was found.
- [x] I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
- [x] I've confirmed that I am using the latest version of Cherry Studio.
### Platform
Windows
### Version
2.0.9
### Bug Description
When a model runs out of tokens, switching to another model still doesn't allow normal output and gets blocked. It only works when the previous model that ran out of tokens is recharged with tokens, then switching models can output normally. This issue didn't occur before version 2.0.
### Steps To Reproduce
Forgot to take a screenshot
### Expected Behavior
None
### Relevant Log Output
```shell
```
### Additional Context
_No response_
---
Original Content
### Issue Checklist
- [x] I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
- [x] My issue is not listed in the [FAQ](https://github.com/CherryHQ/cherry-studio/issues/3881).
- [x] I've looked at **pinned issues** and searched for existing [Open Issues](https://github.com/CherryHQ/cherry-studio/issues), [Closed Issues](https://github.com/CherryHQ/cherry-studio/issues?q=is%3Aissue%20state%3Aclosed), and [Discussions](https://github.com/CherryHQ/cherry-studio/discussions), no similar issue or discussion was found.
- [x] I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
- [x] I've confirmed that I am using the latest version of Cherry Studio.
### Platform
Windows
### Version
2.0.9
### Bug Description
当一个模型用完token时候在切换模型时候依然不能正常输出,而是被阻断。知道把之前用完token模型重新充token时候才可以。切换模型也能正常输出了。以前模型不会出现这个样情况自从2.0之后就这样了。
### Steps To Reproduce
忘记截图了
### Expected Behavior
无
### Relevant Log Output
```shell
```
### Additional Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.