Chanh /ch-ahn/ (n.) — lime or lemon in Vietnamese
A VS Code extension that downloads, hosts, and runs the Lemonade Server embeddable binary locally, enabling AI chat with local LLMs directly in VS Code.
- Managing/downloading Lemonade models
- Chat integration:
@chanhchat participant for quick Q&A, plus chat models with tool-calling support in the native VS Code model picker (agent mode, streaming, and vision) - Everything runs locally, and work offline
- Multiple server modes: system-installed Lemonade Server, Embeddable Lemonade, or custom URL
- Just another way to integrate with VS Code
The @chanh chat participant supports the following slash commands:
/fix- Generate a fix for the selected code/explain- Explain the selected code
The tree view in the sidebar shows the active server, its status and its models. You can pick different server modes, such as using the system-installed Lemonade Server or downloading the binary version.
Models served by the active Lemonade Server are exposed to VS Code's native model picker under the Chanh 🍋 provider. Only models carrying both the chat and tool-calling labels are listed, since agent mode relies on tool calling. Vision models (vision label) are tagged in the picker and accept image attachments.
Plain chat models (no tool-calling label) remain available through the @chanh participant. chanh.chatModel remembers the last model used for @chanh (leave empty to be prompted).
| Setting | Default | Description |
|---|---|---|
chanh.chatModel |
null |
Model to use for chat (leave empty to be prompted) |
chanh.customServerUrl |
null |
Custom Lemonade Server URL (used in CUSTOM mode) |
chanh.lemondPort |
8000 |
Port for the bundled lemond binary |
chanh.lemonadePort |
13305 |
Port for the Lemonade Server (System) |
chanh.serverMode |
"LEMONADE" |
Which Lemonade Server to use: LEMONADE, LEMOND, or CUSTOM |
chanh.maxLoadedModels |
(unset) | Maximum number of loaded models. Use -1 for unlimited. |
- Add backends/recipes management
- Change the extension name from Lemon to Chanh
- Add download function into the treeview
- Label capabilities of the model
- Integrate into the VS Code agent harness
- Add icon
- Lemonade management treeview
- Chat integration
Enjoy!
