套是什么意思| 心律不齐是什么原因引起的| 小腹一直疼是什么原因| 小确幸什么意思| 尿酸高是什么意思| 胰腺ca是什么意思| 父亲节什么时间| 股票解禁是什么意思| 心肌缺血吃什么中成药| 补骨脂是什么东西| 什么动物怕热| 胸闷什么原因| 女性头部出汗吃什么药| 扑热息痛又叫什么| 自我是什么意思| 测脸型适合什么发型| 槟榔肝是由什么引起的| 属牛的和什么属相最配| 例假期间吃什么减肥| 项羽为什么会失败| 女人的逼长什么样| 宝刀未老的意思是什么| 为什么牙龈老是出血| 矢什么意思| 痔疮是什么样子的| 梦见种树是什么兆头| 4.22是什么星座| 亡羊补牢的寓意是什么| 脖子长痘痘是因为什么原因| 画饼充饥是什么意思| 开屏什么意思| 补铁吃什么| 颈椎钙化是什么意思严重么| 心脏由什么组织构成| 新生儿屁多是什么原因| qr是什么意思| 口干是什么原因引起的怎么治疗| 酒精对皮肤有什么伤害| 铺天盖地的意思是什么| 麸皮是什么| 空明什么意思| 不凝血是什么原因| 玻尿酸有什么作用| 晚上睡觉口苦是什么原因| 小肚子胀气是什么原因| 虎头什么尾| 壁虎为什么是五毒之一| 结售汇是什么意思| 安徽有什么土特产| 飞蚊症是什么引起的| 女人喝蜂蜜水有什么好处| 脸颊红是什么原因| 绿豆汤不能和什么一起吃| 113是什么意思| 走青是什么意思| 素什么意思| 三个鬼念什么| 梅花表属于什么档次| 皮癣用什么药膏| 阿司匹林有什么副作用| 7777什么意思| 棒打鸳鸯什么意思| 藏茶属于什么茶| 夜里12点是什么时辰| 什么的马| 头顶发热是什么原因| 6月30号什么星座| gap什么意思| 母乳是什么味道| 猪油蒙了心是什么意思| 老是咳嗽挂什么科| 安居乐业什么意思| 0型血和b型血生的孩子是什么血型| 经常吃杏仁有什么好处| 女人晚上盗汗是什么原因| zoe什么意思| 十一月十五号是什么星座| 利妥昔单抗是什么药| 脚出汗用什么药| 参商是什么意思| 堂哥的儿子叫什么| 心情烦躁吃什么药| 打哈欠为什么会传染| 陪跑什么意思| 什么微风| 隐翅虫是什么样子| 额头反复长痘是什么原因| 七字五行属什么| 三峡大坝什么时候建成的| 十二生肖排第七是什么生肖| 穿旗袍配什么发型好看| 糖尿病可以喝什么饮料| 郡字五行属什么| 什么力气| 什么非常什么写句子| 天降甘霖什么意思| 头发粗硬是什么原因| 是什么| 紫砂壶泡什么茶最好| 长孙是什么意思| 高质量发展是什么| 火把节是什么时候| 命里有时终须有命里无时莫强求什么意思| 釉是什么| 意阑珊什么意思| 金鱼吃什么| 检查抑郁症挂什么科| 相是什么意思| 四周岁打什么疫苗| 矫正视力是指什么| 又什么又什么的草地| 大口鱼是什么鱼| 婴儿出汗多什么原因| 小腹疼痛是什么原因| 真丝姆米是什么意思| 异位胰腺是什么意思| 深海鱼油起什么作用| 燕子进屋来有什么兆头| lagogo是什么牌子| 人的牙齿为什么不能再生| 地奥司明片治疗什么病| fdg代谢增高是什么意思| 黄体破裂吃什么药| 什么什么不动| pagani是什么车| 吃什么对大脑记忆力好| 能级是什么意思| 生地和熟地有什么区别| 加盟资质需要什么条件| 胆结石挂什么科室| 茅庐是什么意思| 半夜饿是什么原因| 咳嗽打什么点滴效果好| 裸婚是什么意思| 女生吃什么可以丰胸| 虚岁29岁属什么生肖| 大腿正面是什么经络| 什么是圆房| 属猪的守护神是什么菩萨| 胸片可以检查出什么| 甲状腺结节是什么引起的| 汉高祖叫什么名字| 什么心什么意| 羊鞭是什么| 2012年是什么命| 云南有什么特产| 为什么小腹隐隐作痛| 老是放臭屁是什么原因| 尿酸检查什么项目| 形婚是什么意思啊| 双鱼座是什么星象| 什么叫文化| 身上长疮是什么原因引起的| 淋巴癌是什么| 朝秦暮楚是什么生肖| 为什么穿堂风最伤人| 空调水滴是什么模式| 先父遗传是什么意思| gr是什么意思| 王爷的儿子叫什么| 排骨炖山药有什么功效| 黄体功能不全是什么意思| 唐三藏的真名叫什么| 莲子适合什么人吃| 含漱是什么意思| 什么是对比色| 钯金和铂金有什么区别| 些几是什么意思| 糖尿病为什么治不好| 抱恙是什么意思| 富甲一方什么意思| 子宫发炎是什么原因引起的| kitty什么意思| 打喷嚏流清鼻涕吃什么药| gpd是什么意思| 腰椎疼痛吃什么药| ket是什么| 酱牛肉放什么调料| 机械键盘什么轴最好| 海绵体充血不足吃什么药| dolphin是什么意思| 25属什么| 议论纷纷是什么意思| 胆囊壁增厚吃什么药| 抱恙是什么意思| 新车上牌需要什么资料| 什么姓氏排第一| 阎王是什么意思| 吃什么皮肤好| 145什么意思| 经常叹气是什么原因| 剖腹产坐月子可以吃什么水果| 爆裂性骨折什么意思| 三个火字读什么| 女性看乳房应该挂什么科| 什么叫做原发性高血压| 兔子尾巴像什么| ms什么意思| 骨髓穿刺能查出什么病| 阳虚有什么症状和表现| 豆瓣是什么软件| 津液亏虚吃什么中成药| 检车需要什么手续| 茵陈和什么泡水喝对肝脏最好| 什么是沉香| 醒酒是什么意思| pb是什么意思| joola是什么牌子| 反差萌是什么意思| 鲤鱼爱吃什么| 什么火灾不能用水扑灭| 银杏树叶像什么| 山楂泡水有什么好处| 一直打喷嚏是什么原因| 什么影院| 润什么意思| 桥本氏甲状腺炎是什么意思| 莲花代表什么生肖| 二月底是什么星座| 521什么星座| 东海龙王叫什么名字| 分拣员是做什么的| 湿气到底是什么| 胆囊壁毛糙吃什么药| 双鱼座的幸运石是什么| 胸是什么| 有白痰是什么原因| 女生什么时候是安全期| 什么属相好| 一什么河| 吃三七粉有什么功效| 11.10是什么星座| 发烧适合吃什么食物| 金牛座有什么特点| 牛头马面是什么生肖| 黄梅时节是什么季节| 小孩口腔溃疡是什么原因| 包皮垢是什么| 面瘫是什么原因造成的| 蚊虫叮咬红肿用什么药| po是什么的缩写| 怀孕一个星期有什么症状| 什么叫撤退性出血| 前列腺炎需要做什么检查| ebay是什么| 羊头标志是什么车| 阳明病是什么意思| 数字绘画是什么| 好运连绵是什么意思| 导乐是什么意思| 甜菜根在中国叫什么| 做病理意味着什么| 广州有什么美食| 肽是什么意思| 阴虱是什么原因引起的| 肠胃炎拉肚子吃什么药| 什么样的小手| 口若什么| 透析什么意思| 金碧辉煌是什么生肖| 1.1是什么星座| 腿为什么会抽筋| 别致是什么意思| 手指肿胀什么原因| 百度

Try to extend agent mode in VS Code!

十万元级首选 热销紧凑级自主SUV推荐

百度 结果出来了,此前不幸死在这个公厕的女婴,与雷某确系母女关系。

Copilot in Visual Studio Code offers different built-in language models that are optimized for different tasks. You can also bring your own language model API key to use models from other providers. This article describes how to change the language model for chat or code completions, and how to use your own API key.

Choose the right model for your task

By default, chat uses a base model to provide fast, capable responses for a wide range of tasks, such as coding, summarization, knowledge-based questions, reasoning, and more.

However, you are not limited to using only this model. You can choose from a selection of language models, each with its own particular strengths. You may have a favorite model that you like to use, or you might prefer to use a particular model for inquiring about a specific subject. For a detailed comparison of AI models, see Choosing the right AI model for your task in the GitHub Copilot documentation.

Depending on the chat mode you are using, the list of available models might be different. For example, in agent mode, the list of models is limited to those that have good support for tool calling.

Note

If you are a Copilot Business or Enterprise user, your administrator needs to enable certain models for your organization by opting in to Editor Preview Features in the Copilot policy settings on GitHub.com.

Why use your own language model API key?

In addition to the built-in models, you can access models directly from Anthropic, Azure, Google, Groq, OpenAI, OpenRouter, or Ollama by providing a valid API key. Learn how to use your own API in VS Code.

Using your own language model API key in VS Code has several advantages:

  • Model choice: access hundreds of models from different providers, beyond the built-in models.
  • Experimentation: experiment with new models or features that are not yet available in the built-in models.
  • Local compute: use your own compute for one of the models already supported in GitHub Copilot or to run models not yet available.
  • Greater control: by using your own key, you can bypass the standard rate limits and restrictions imposed on the built-in models.
Important

This feature is in preview and is not currently available to Copilot Business or Copilot Enterprise users.

Change the model for chat conversations

Use the language model picker in the chat input field to change the model that is used for chat conversations and code editing.

Screenshot that shows the model picker in the Chat view.

You can further extend the list of available models by using your own language model API key.

If you have a paid Copilot plan, the model picker shows the premium request multiplier for premium models. Learn more about premium requests in the GitHub Copilot documentation.

Change the model for code completions

To change the language model that is used for generating code completions in the editor:

  1. Select Configure Code Completions... from the Copilot menu in the VS Code title bar.

  2. Select Change Completions Model..., and then select one of the models from the list.

Bring your own language model key

If you already have an API key for a language model provider, you can use their models in chat in VS Code, in addition to the built-in models that Copilot provides. You can use models from the following providers: Anthropic, Azure, Google Gemini, Groq, Ollama, OpenAI, and OpenRouter.

Important

This feature is in preview and is not currently available to Copilot Business or Copilot Enterprise users.

To manage the available models for chat:

  1. Select Manage Models from the language model picker in the Chat view.

    Alternatively, run the GitHub Copilot: Manage Models command from the Command Palette.

    Screenshot that shows the model picker in the Chat view, which has an item for managing the list of models.

  2. Select a model provider from the list.

    Screenshot that shows the model provider Quick Pick.

  3. Enter the provider-specific details, such as the API key or endpoint URL.

  4. Enter the model details or select a model from the list, if available for the provider.

    The following screenshot shows the model picker for Ollama running locally, with the Phi-4 model deployed.

    Screenshot that shows the model picker of Ollama running locally, allowing you to select a model from the list of available models.

  5. You can now select the model from the model picker in the Chat view and use it for chat conversations.

Update the provider details

To update the provider details, such as the API key or endpoint URL:

  1. Select Manage Models from the language model picker in the Chat view.

    Alternatively, run the GitHub Copilot: Manage Models command from the Command Palette.

  2. Hover over a model provider in the list, and select the gear icon to edit the provider details.

    Screenshot that shows the model provider Quick Pick, with a gear icon next to the provider name.

  3. Update the provider details, such as the API key or endpoint URL.

Considerations

There are a number of considerations when using your own language model API key in VS Code:

  • Bringing your own model only applies to the chat experience and doesn't impact code completions or other AI-powered features in VS Code, such as commit-message generation.
  • The capabilities of each model might differ from the built-in models and could affect the chat experience. For example, some models might not support vision or tool calling.
  • The Copilot API is still used for some tasks, such as sending embeddings, repository indexing, query refinement, intent detection, and side queries.
  • When using your own model, there is no guarantee that responsible AI filtering is applied to the model's output.

Frequently asked questions

Why is bring your own model key not available for Copilot Business or Copilot Enterprise?

Bringing your own model key is not available for Copilot Business or Copilot Enterprise because it's mainly meant to allow users to experiment with the newest models the moment they are announced, and not yet available as a built-in model in Copilot.

Bringing your own model key will come to Copilot Business and Enterprise plans later this year, as we better understand the requirements that organizations have for using this functionality at scale. Copilot Business and Enterprise users can still use the built-in, managed models.

瘿瘤是什么病 准将是什么级别 昆山有什么好玩的地方 梦魇是什么原因造成的 大生化挂什么科
巨蟹跟什么星座最配 6月2日什么星座 思密达是什么意思 血沉是查什么病的 什么什么不宁
男人纹身纹什么运气好 经常吃生花生有什么好处和坏处 男朋友过生日送什么礼物最有意义 解绑是什么意思 橡皮泥可以做什么
前列腺肥大有什么症状 gf是什么意思 脑供血不足吃什么药好得快 7月26日是什么日子 晚年是什么意思
郡字五行属什么hcv9jop2ns9r.cn 新百伦属于什么档次hcv8jop9ns0r.cn 视网膜病变有什么症状hcv8jop2ns4r.cn 脚背疼挂什么科hcv9jop8ns0r.cn 老鼠和什么属相最配对hcv8jop0ns1r.cn
去医院检查艾滋病挂什么科hcv8jop8ns3r.cn 山西的简称是什么hcv8jop3ns7r.cn 肝不好吃什么药最好onlinewuye.com 2035年属什么生肖hcv8jop3ns6r.cn 隆科多为什么不姓佟hcv9jop0ns8r.cn
肛门松弛是什么原因hcv9jop7ns4r.cn 上腹部饱胀是什么原因hcv7jop4ns7r.cn 公元400年是什么朝代bysq.com 芒果和什么不能一起吃hcv8jop3ns9r.cn 胃幽门螺杆菌有什么症状adwl56.com
乐可是什么hcv8jop6ns1r.cn 腿痒是什么原因tiangongnft.com 西瓜吃了有什么好处hcv9jop0ns2r.cn 女人吃枸杞有什么好处hcv9jop4ns0r.cn 松花蛋是什么蛋做的hcv9jop6ns8r.cn
百度