Allow `-max-ai-credits=0` when using local models
未關閉
適合新手
area:configuration
area:models
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the feature or problem you'd like to solve
I'd like to be able to use local models with `/remote` without the possibility of accidentally using credits in that session
### Proposed solution
Remote the validation on `-max-ai-credits` that requires that it is >= 30.
### Example prompts or workflows
_No response_
### Additional context
The limit of 30 seems totally arbitrary, and when using a local model it doesn't mean anything. When testing with local models, it would be nice to know for sure that we can't accidentally use credits.
貢獻指南
研究方向
先找出 `-max-ai-credits` 選項的驗證邏輯,以及使用 `/remote` 時識別本機模型的程式碼。確認目前的最小值為 30,接著驗證本機模型工作流程接受值 0,並確保工作階段不會意外使用額度。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 64/100