Skip to content

Commit 3aa45ec

Browse files
committed
[Codex generated] Guide for VSCode.
1 parent 07f00df commit 3aa45ec

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

docs/inference-providers/_toctree.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
title: How to use OpenAI gpt-oss
2424
- local: guides/image-editor
2525
title: Build an Image Editor
26+
- local: guides/vscode-copilot
27+
title: VS Code Copilot
2628

2729
- local: tasks/index
2830
title: Inference Tasks
@@ -106,4 +108,4 @@
106108
title: Hub API
107109

108110
- local: register-as-a-provider
109-
title: Register as an Inference Provider
111+
title: Register as an Inference Provider
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# 🤗 Hugging Face Inference Providers for VS Code Copilot
2+
3+
![Demo](assets/demo.gif)
4+
5+
<!-- Place demo.gif at docs/inference-providers/guides/assets/demo.gif -->
6+
7+
Bring thousands of open‑source models to VS Code Copilot Chat with a first‑class provider powered by [Hugging Face Inference Providers](https://huggingface.co/docs/inference-providers/index) and built on the [Language Model Chat Provider API](https://code.visualstudio.com/api/extension-guides/ai/language-model-chat-provider).
8+
9+
## ✨ Why use the Hugging Face provider in Copilot
10+
- 4k+ open‑source LLMs with tool calling capabilities.
11+
- Single API to thousands of open‑source LLMs via providers like Groq, Cerebras, Together AI, SambaNova, and more.
12+
- Built for high availability and low latency through world‑class providers.
13+
- No extra markup on provider rates.
14+
15+
---
16+
17+
## ⚡ Quick start
18+
1. Open VS Code's chat interface.
19+
2. Click the model picker and click "Manage Models...".
20+
3. Select "Hugging Face" provider.
21+
4. Provide your Hugging Face Token, you can get one in your [settings page](https://huggingface.co/settings/tokens/new?ownUserPermissions=inference.serverless.write&tokenType=fineGrained).
22+
5. Select the models you want to add to the model picker.
23+
24+
💡 The free tier gives you monthly inference credits to start building and experimenting. Upgrade to [Hugging Face PRO](https://huggingface.co/pro) for even more flexibility, $2 in monthly credits plus pay‑as‑you‑go access to all providers!
25+

0 commit comments

Comments
 (0)