下巴脱臼是什么感觉| 卵磷脂是什么| 什么是活珠子| 猪砂是什么东西| sk是什么意思| 竖起中指是什么意思| 保健品是什么| 庸人什么意思| 什么是微量元素| 血压低吃什么能补上来| 男人湿气重吃什么药| saq是什么意思| 何以笙箫默什么意思| 梦见大火烧山是什么意思| 肝钙化斑是什么意思| 官员出狱后靠什么生活| 右加一笔是什么字| 肝阴虚吃什么药| 碳水化合物是什么东西| 女性分泌物带血是什么原因| 昕字取名什么寓意| 叶黄素是什么东西| 怀孕哭对宝宝有什么影响| 海马吃什么| 吃过敏药有什么副作用| 应届毕业生是什么意思| 胰头占位是什么病| 气结是什么意思| 示字旁与什么有关| 鳄鱼的尾巴有什么作用| 马加大是什么字| 海带补什么| 站点是什么意思| 七月份什么星座| 怀孕感冒可以吃什么药| 大腿为什么会长妊娠纹| 鼻翼两侧发红是什么原因| 稚嫩是什么意思| 腰酸胀是什么原因男性| 乙肝1245阳性什么意思| 血压高是什么原因引起的| 偏头痛什么原因引起的| 什么时辰出生的人命好| 铜钱癣用什么药| 公因数是什么意思| 泰安有什么大学| 胃疼吃什么食物最养胃| 泉州和晋江什么关系| 冬虫夏草有什么作用| 牙齿出血是什么病征兆| 四月二十五是什么星座| 淤青擦什么药| 三尖瓣反流什么意思| 2003属什么| 碱是什么东西| 毛囊炎用什么药| 104岁属什么生肖| 厄警失痣是什么意思| 孕妇为什么会便秘| 入宅是什么意思| 眼晴干涩模糊用什么药| 梦见死了人是什么意思| 宫禁糜烂用什么药| 前列腺钙化灶是什么| studio什么牌子| 猪属什么五行| 晨起口干口苦是什么原因| 尿蛋白质阳性是什么意思| noah是什么牌子| 子宫息肉有什么危害| 玫瑰花可以和什么一起泡水喝| 黄毛是什么意思| ENBD手术全称是什么| 什么时候开始| 赵国是现在的什么地方| 疤痕贴什么时候用最佳| 消化不良吃什么食物好| 什么是客单价| 为什么会得前列腺炎| 喝酒后手麻是什么原因| 中项是什么意思| 指甲发青是什么原因| 12月有什么节日| o和ab型生的孩子是什么血型| 茭白不能和什么一起吃| 孩子容易出汗是什么原因| 一个口一个者念什么| 孩子呕吐是什么原因| bv是什么| 吃飞醋是什么意思| 猫薄荷是什么东西| 山药和什么不能一起吃| 什么是承兑| 鞋油自然色是什么颜色| 金生水是什么意思| 98年属虎的是什么命| 循序渐进什么意思| 梦到生男孩有什么预兆| 腻歪什么意思| 娥皇女英是什么意思| 动爻是什么意思| 交感神经型颈椎病吃什么药| 拖油瓶是什么意思| 二甲双胍缓释片什么时候吃| 低压偏高什么原因| 农历4月14日是什么星座| 康庄大道什么意思| 促胃动力药什么时候吃| 男人第一次什么 感觉| 杀了神经的牙为什么还疼| 孩子肚子疼是什么原因| 腿麻挂什么科| 问号像什么| 午睡睡不着是什么原因| 不成敬意是什么意思| 夹不住尿是什么原因| 7月31号是什么星座| 髋关节弹响是什么原因| 竹节棉是什么面料| 10.14是什么星座| miffy是什么意思| 早上起来口苦吃什么药| 湿疹吃什么| 体温偏低是什么原因| 第一次要注意什么| 英雄本色是什么意思| 脂肪肝是什么原因造成的| 做梦梦见很多蛇是什么意思| 凶猛的动物是什么生肖| 榴莲树长什么样| 幽门螺旋杆菌吃什么药最好| 赭色是什么颜色| 男属龙和什么属相最配| 硝是什么东西| 包皮是什么| 各位同仁用在什么场合| 九月四号是什么星座的| 青葱岁月下一句是什么| 家乡是什么意思| 1993年出生的属什么| 李时珍的皮是什么意思| 吴亦凡属什么| 岁月静好浅笑安然什么意思| 2333是什么意思啊| 红细胞高说明什么| 长期尿黄可能是什么病| 霸王别姬是什么生肖| nsaids是什么药| 12月21号是什么星座| 角是什么结构| 基数大是什么意思| u盾是什么| 脚气用什么药膏效果好| 耳鸣是什么引起的| 乙肝1245阳性什么意思| 伏天吃什么| 偏头疼吃什么药好| 戒奶涨奶痛有什么缓解方法| 念珠菌是什么| 痔疮是什么科室看的| 蓝色预警是什么级别| 乩童是什么意思| 吃什么发胖最快| 尿素高是什么意思| 回民为什么不吃猪肉| 医士是什么职称| 百岁山和景田什么关系| 喝咖啡不能吃什么食物| 为什么医生说直肠炎不用吃药| 桥本氏甲状腺炎吃什么药| 瘸子是什么意思| 典型是什么意思| 脚上长鸡眼是什么原因| 抗皱用什么产品好| 月经期间喝红糖水有什么好处| 滴水观音叶子发黄是什么原因| 偷窥什么意思| 4月23日是什么星座| 肚脐眼是什么穴位| 牛肉丸子配什么菜好吃| 舌苔厚有齿痕吃什么药| 痔疮不治会有什么危害| 排骨炖什么好吃| 什么睡姿有助于丰胸| 执子之手什么意思| 芝五行属什么| 病毒性感冒吃什么药| 结节是什么原因引起的| 同房什么感觉| 手指发痒是什么原因| 为什么喝酒后会头疼| 什么叫阴吹| 总恶心是什么病的前兆| 梦见把头发剪短了是什么意思| 欢是什么动物| 黔驴技穷什么意思| 三个力念什么| 蝙蝠是什么变的| 单剂量给药是什么意思| 时光荏苒的意思是什么| 血癌是什么原因造成的| 泉水什么| 黑枸杞泡茶是什么颜色| 汞中毒有什么症状| 晚餐吃什么| 高危行为是什么意思| 扁桃体发炎了吃什么药| 嫁给香港人意味着什么| 维生素什么时候吃效果最好| 每天坚持黄瓜敷脸有什么效果| 宇字属于五行属什么| 痛风是什么病| 心率低有什么症状| 咖啡因是什么| 智齿疼吃什么药最管用| 低压高是什么引起的| 纳豆是什么豆| 水痘要注意什么| 水痘长什么样| onemore是什么牌子| 帕斯是什么意思| ca199偏高是什么原因| 市辖区是什么意思| 粘纤是什么材料| 龋病是什么意思| 戒腊什么意思| 世界八大奇迹分别是什么| 五浊恶世是什么意思| 白带带血是什么原因| 动脉抽血为什么这么疼| 送对象什么礼物好| 腺肌症有什么症状表现| 经常嗳气是什么原因| 梦到蜈蚣是什么意思| 中性粒细胞高是什么感染| 五岳是什么| rrl是什么牌子| 黑下打信是什么任务| 宫缩是什么意思| 胆囊切除后有什么影响| 骨密度是什么意思| 五月十五是什么星座| 什么叫桑黄| 贴膏药发热是什么原因| 血常规是检查什么的| 腊肉和什么菜炒好吃| 胃痉挛有什么症状| 中山市有什么大学| 荷尔蒙是什么| 9月1号什么星座| 北上广深是什么意思| 3月3号是什么星座| 过敏性紫癜是什么症状| 亢奋什么意思| 什么药可以流产| enne是什么烟| 舌头长泡吃什么药| 胃泌素是什么| 梦见吐血是什么预兆| 西游记什么时候写的| 老二是什么意思| sage什么颜色| 宫外孕是什么症状| epd是什么意思| 百度

Try to extend agent mode in VS Code!

唐山市法院在司法改革中深入推进反腐倡廉建设

百度   二是坚决整治人民群众身边的不正之风和腐败问题。

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.

我拿什么留住你 头皮痒掉发严重是什么原因 孕妇零食可以吃什么 马克华菲是什么档次 头出汗多是什么原因
明目退翳什么意思 萤火虫为什么越来越少 孕妇腹泻可以吃什么药 蟋蟀吃什么食物 什么样的小鸟
不思量 自难忘什么意思 内火旺是什么原因 有氧运动是什么 梦见自己大肚子怀孕是什么意思 未可以加什么偏旁
鼻窦炎都有什么症状 背动态心电图要注意什么 孔雀开屏寓意什么意思 男生喉结不明显是为什么 冰丝纤维是什么面料
气短是什么原因引起的gangsutong.com 硬化萎缩性苔藓是什么病hcv8jop3ns8r.cn 沙土地适合种什么农作物hcv8jop2ns1r.cn 怀孕初期头晕是什么原因hcv7jop5ns5r.cn 吉数是什么数字hcv8jop5ns6r.cn
五年生存率是什么意思hcv9jop5ns5r.cn 氯雷他定片治什么病hcv9jop1ns5r.cn 春季感冒吃什么药hanqikai.com 胃癌是什么原因引起的hcv8jop5ns8r.cn 印度什么教hcv7jop9ns8r.cn
什么食物补血hcv8jop4ns2r.cn 黑道是什么意思hcv9jop5ns8r.cn r代表什么意思tiangongnft.com 夏天刮什么风hcv8jop8ns4r.cn 目敢念什么hcv8jop5ns7r.cn
兰花叶子发黄是什么原因inbungee.com 病史是什么意思hcv7jop9ns9r.cn 10月19号什么星座hcv7jop9ns7r.cn 青字五行属什么hcv8jop7ns5r.cn 女朋友的妹妹叫什么hcv9jop6ns4r.cn
百度