github / github/copilot-cli

Request: Ollama API Key return to Bring Your Own Model

オープン
#3,789 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:models
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the feature or problem you'd like to solve

Add Ollama apiKeyEnv API Key to Github Copilot Bring Your Own Model Menu

### Proposed solution

I have a local Ollama server that I want to use remotely and need the API Key to set the host header.

Otherwise, I will need to use a forward proxy server to add the header back and it seems like a wasted effort.

I am using my other API key endpoints

### Example prompts or workflows

This allows me to use my 38GB to 80GB models without token costs or high electricity costs

### Additional context

Image

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

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

調査の方向性

「Bring Your Own Model」メニューから始め、他のエンドポイントで API key の環境変数がどのように表現されているかを追跡します。Ollama host header がどのように設定されているかを確認し、Ollama を選択した場合に、プロキシを必要とせず、要求された API key を受け付けて転送することを検証します。

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

評価

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

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

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