Allow `-max-ai-credits=0` when using local models
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 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