AI Chatbot VS Code ExtensionA VS Code extension that connects to any local or custom AI model backend. Features
Setup1. Install dependencies
2. Run in developmentOpen the folder in VS Code, press 3. Package as
|
| Setting | Default | Description |
|---|---|---|
chatbot.modelEndpoint |
http://localhost:11434/api/chat |
Your model API URL |
chatbot.modelName |
llama3 |
Model name |
chatbot.apiFormat |
ollama |
ollama, openai-compatible, or custom |
chatbot.apiKey |
(blank) | API key if required |
chatbot.systemPrompt |
coding assistant | System prompt |
chatbot.inlineSuggestEnabled |
true |
Toggle inline suggestions |
Backend examples
Ollama (local)
ollama serve # starts at http://localhost:11434
ollama pull llama3 # download a model
Set apiFormat = ollama, endpoint = http://localhost:11434/api/chat, modelName = llama3.
LM Studio
Start the local server in LM Studio (OpenAI-compatible).
Set apiFormat = openai-compatible, endpoint = http://localhost:1234/v1/chat/completions.
Custom backend
Your backend must accept POST with { model, messages } and return { response: "..." }.
Set apiFormat = custom.