github / github/copilot-cli

Request: Ollama API Key return to Bring Your Own Model

Open
#3,789 0 comments 0 reactions 0 assignees View on GitHub
area:models
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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

Contributor guide

Open the contributing guide

Research direction

Start at the Bring Your Own Model menu and trace how API key environment variables are represented for other endpoints. Check how the Ollama host header is configured, then verify that selecting Ollama accepts and forwards the requested API key without requiring a proxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
ollama
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.