Allow `-max-ai-credits=0` when using local models

オープン 初心者向け
#4,167 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
64/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
shell
領域
cli

調査の方向性

まず、-max-ai-credits オプションのバリデーションと、/remote が使用されたときにローカルモデルを識別するコードを見つけます。現在の最小値が 30 であることを確認し、次にローカルモデルのワークフローでは 0 が受け入れられ、セッションが予期せずクレジットを使用できないことを検証します。

索引モデルが issue の本文から書いたものです。

説明

area:configuration area:models
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.

主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-cli のほかの issue

github/copilot-cli の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。