> For the complete documentation index, see [llms.txt](https://docs.avis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avis.net/vi/tich-hop/ides-and-editors/vs-code-studio.md).

# VS Code Studio

VS Code tích hợp tính năng trò chuyện với AI qua GitHub Copilot Chat. Bạn có thể chọn mô hình AVIS ngay trong bộ chọn mô hình của Copilot Chat.

<figure><img src="https://1381001042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBqtOszkBUadA4v68IeIc%2Fuploads%2Fgit-blob-20f023a459cfa6590dce3a4c4d7862df671c41e6%2Fimage%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

### [​](https://docs.ollama.com/integrations/vscode#prerequisites)Yêu cầu <a href="#prerequisites" id="prerequisites"></a>

* AVIS v1.0
* [VS Code 1.113+](https://code.visualstudio.com/download)
* [Tiện ích GitHub Copilot Chat 0.41.0+](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat)

VS Code yêu cầu bạn đăng nhập để dùng bộ chọn mô hình, kể cả khi chọn mô hình tùy chỉnh. Bạn không cần gói GitHub Copilot trả phí; GitHub Copilot Free cũng cho phép chọn mô hình tùy chỉnh.

### [​](https://docs.ollama.com/integrations/vscode#quick-setup)Thiết lập nhanh <a href="#quick-setup" id="quick-setup"></a>

```
avis launch vscode
```

Các mô hình được đề xuất sẽ hiển thị sau khi chạy lệnh. Xem các mô hình mới nhất tại [ollama.com](https://ollama.com/search?c=tools). Đảm bảo đã chọn **Local** ở cuối bảng Copilot Chat để sử dụng các mô hình Ollama của bạn.

### [​](https://docs.ollama.com/integrations/vscode#run-directly-with-a-model)Chạy trực tiếp với một mô hình <a href="#run-directly-with-a-model" id="run-directly-with-a-model"></a>

```
avis launch vscode --model qwen3.5:cloud
```

Các mô hình cloud cũng có sẵn tại [avis.net](https://avis.net).

### [​](https://docs.ollama.com/integrations/vscode#manual-setup)Thiết lập thủ công <a href="#manual-setup" id="manual-setup"></a>

Để cấu hình Ollama thủ công mà không cần `avis launch`:

1. Mở thanh bên **Copilot Chat** từ góc trên bên phải

<figure><img src="https://1381001042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBqtOszkBUadA4v68IeIc%2Fuploads%2Fgit-blob-5b01ca31bac2dac5e828eb6868cb7d6c79bfd785%2Fimage%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

1. Nhấn **biểu tượng bánh răng cài đặt** () để mở cửa sổ Language Models
2. Nhấn **Add Models** và chọn **Ollama** để tải tất cả các mô hình Ollama vào VS Code
3. Nhấn nút **Unhide** trong bộ chọn mô hình để hiển thị các mô hình Ollama của bạn<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avis.net/vi/tich-hop/ides-and-editors/vs-code-studio.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
