任务创建后计费状态锁定,中途切换免费模型并关闭思考深度仍提示积分耗尽
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 719
- Avg merge
- 4h 30m
- Merged PRs (30d)
- 83
Description
问题描述
在客户端创建任务时,如果初始开启了思考深度或勾选了技能,任务创建后就会锁定积分计费通道。即使中途在同一会话内切换为免费基础模型、关闭思考深度,重新发送请求依然会触发「API error 402 (Payment Required): 积分已耗尽」报错,无法切换到每日免费Token通道。
复现步骤
- 新建本地任务,默认开启思考深度,创建调用技能的代码任务
- 任务运行后返回积分耗尽的402报错
- 在当前会话内,将思考深度切换为「关闭」,模型切换为免费的 qwen3.8-flash
- 重新发送任务请求,依然返回积分耗尽的402错误
- 只有彻底关闭当前任务,重新新建一个初始就关闭思考深度、使用免费模型的任务,才能正常使用免费额度
期望效果
希望任务会话内修改模型、思考深度配置后,能实时切换对应的计费通道,按当前最新配置计费,而不是以任务创建瞬间的配置锁定整个会话的计费模式。用户中途调整配置后,可以正常切换到免费额度使用,体验更合理。
我的UID:01a0a4f3-1009-7233-a408-1eca8a1bf600
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the five-step scenario, then trace task creation and the request path that selects the billing channel. Compare which model and thinking-depth settings are captured at creation versus read on resend; done means switching to qwen3.8-flash with thinking disabled uses the free-token channel without the 402 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, payments
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100