github / github/copilot-cli

Request: Ollama API Key return to Bring Your Own Model

未关闭
#3,789 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:models
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
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 摘要。