{"id":42933738,"url":"https://github.com/gethnet/litellm-connector-copilot","last_synced_at":"2026-04-24T03:08:36.189Z","repository":{"id":335113406,"uuid":"1143785483","full_name":"gethnet/litellm-connector-copilot","owner":"gethnet","description":"Adds LiteLLM as a provider within Copilot in VSCode, expanding the models you can access significantly. Available on Visual Studio Code Marketplace: https://marketplace.visualstudio.com/items?itemName=Gethnet.litellm-connector-copilot","archived":false,"fork":false,"pushed_at":"2026-03-19T02:21:35.000Z","size":2401,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-19T07:00:53.388Z","etag":null,"topics":["ai","copilot","integration","language-provider","litellm","litellm-proxy","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gethnet.png","metadata":{"files":{"readme":"README.marketplace.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"ko_fi":"amwdrizz","buy_me_a_coffee":"amwdrizz"}},"created_at":"2026-01-28T01:16:31.000Z","updated_at":"2026-03-16T09:12:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gethnet/litellm-connector-copilot","commit_stats":null,"previous_names":["gethnet/litellm-connector-copilot"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/gethnet/litellm-connector-copilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethnet%2Flitellm-connector-copilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethnet%2Flitellm-connector-copilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethnet%2Flitellm-connector-copilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethnet%2Flitellm-connector-copilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gethnet","download_url":"https://codeload.github.com/gethnet/litellm-connector-copilot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gethnet%2Flitellm-connector-copilot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","copilot","integration","language-provider","litellm","litellm-proxy","vscode-extension"],"created_at":"2026-01-30T19:12:57.199Z","updated_at":"2026-04-01T20:23:12.220Z","avatar_url":"https://github.com/gethnet.png","language":"TypeScript","funding_links":["https://ko-fi.com/amwdrizz","https://buymeacoffee.com/amwdrizz"],"categories":[],"sub_categories":[],"readme":"# 🚀 LiteLLM Connector for GitHub Copilot Chat\n\n[![CI](https://github.com/gethnet/litellm-connector-copilot/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/gethnet/litellm-connector-copilot/actions/workflows/ci.yml)\n[![Codecov](https://codecov.io/gh/gethnet/litellm-connector-copilot/branch/main/graph/badge.svg)](https://codecov.io/gh/gethnet/litellm-connector-copilot)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gethnet/litellm-connector-copilot?sort=semver)](https://github.com/gethnet/litellm-connector-copilot/releases)\n[![VS Code Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/GethNet.litellm-connector-copilot)](https://marketplace.visualstudio.com/items?itemName=GethNet.litellm-connector-copilot)\n[![VS Code Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/GethNet.litellm-connector-copilot)](https://marketplace.visualstudio.com/items?itemName=GethNet.litellm-connector-copilot)\n\nBring **any LiteLLM-supported model** into the Copilot Chat model picker — OpenAI, Anthropic (Claude), Google, Mistral, local Llama, and more.\n\nIf LiteLLM can talk to it, **Copilot can use it**.\n\n---\n\n## ⭐️ Support the project\n\nIf you find this useful, please:\n\n- **Star on GitHub**: https://github.com/gethnet/litellm-connector-copilot\n- **Leave a rating/review** on the **VS Code Marketplace**: https://marketplace.visualstudio.com/items?itemName=GethNet.litellm-connector-copilot\n- **Rate on Open VSX**: https://open-vsx.org/extension/GethNet/litellm-connector-copilot\n\nWant to support development?\n\n- **Ko-fi**: https://ko-fi.com/amwdrizz\n- **Buy Me a Coffee**: https://buymeacoffee.com/amwdrizz\n\n---\n\n## 🚨 Troubleshooting: Connection Issues 🚨\n\nIf the extension fails to connect or models don't show up:\n\n1.  **Manual Setup**: Run **`Manage LiteLLM Provider`** from the Command Palette (`Ctrl+Shift+P`). This often fixes setup \"hiccups\".\n2.  **Verify**: Run **`LiteLLM: Check Connection`** to test your settings.\n3.  **Reset**: If things are totally stuck, run **`LiteLLM: Reset All Configuration`**. This is the \"nuke\" option to clear all state.\n4.  **Note**: Reinstalling usually won't help as settings are stored securely in VS Code. Use the Reset command instead.\n\n---\n\n## ✅ Requirements\n\n- 🔑 **GitHub Copilot** subscription (Free plan works)\n- 🌐 A **LiteLLM proxy URL** (and an API key if your proxy requires one)\n\n---\n\n## ⚡ Quick Start (60 seconds)\n\n1. Install **GitHub Copilot Chat**\n2. Open the Command Palette: `Ctrl+Shift+P` (Windows/Linux) or `Cmd+Shift+P` (Mac)\n3. Run: **`Manage LiteLLM Provider`** and enter your LiteLLM proxy details.\n\n\u003e **Pro-Tip**: This extension supports both standard Chat and advanced V2 Chat (including thinking models and structured usage reporting) automatically based on the models enabled in your LiteLLM proxy.\n2. Install **LiteLLM Connector for Copilot**\n3. Open Command Palette: `Ctrl+Shift+P` / `Cmd+Shift+P`\n4. Run: **Manage LiteLLM Provider**\n5. Enter:\n   - **Base URL** (example: `http://localhost:4000`)\n   - **API Key** (optional)\n6. Open Copilot Chat → pick a model under **LiteLLM** → chat\n\n---\n\n## ✨ What you get\n\n- 🌍 **Hundreds of models** via your LiteLLM proxy\n- 🌊 **Real-time streaming** responses\n- 🛠️ **Tool / function calling** support\n- 👁️ **Vision models** supported (where available)\n- 🧠 **Smart parameter handling** for model quirks\n- 🔁 **Automatic retry** when a model rejects unsupported flags\n- 📊 **Token tracking \u0026 usage** monitoring for input/output tokens\n- ✍️ **Git commit generation** from staged changes in the SCM view\n- 🧼 **Smart Sanitization** automatically strips Markdown code blocks from generated commit messages\n- 🔍 **Connection diagnostics** to verify proxy configuration\n- ⏱️ **Inactivity watchdog** to prevent stuck streams\n- 🚫🧠 **Cache bypass controls** (`no-cache` headers) with provider-aware behavior\n- 🔐 **Secure credential storage** using VS Code `SecretStorage`\n- ⌨️ **Optional inline completions** via VS Code’s stable inline completion API\n\n---\n\n## 🆕 Recent Highlights\n\n- 🧼 **SCM Message Sanitization** (automatically cleans up generated commit messages by stripping triple backticks)\n- ✍️ **Git Commit Message Generation** (generate messages from staged changes directly in the SCM view)\n- 📊 **Enhanced Token Awareness** (real-time token counting and context window display in model tooltips)\n- 🔍 **Connection Diagnostics** (new `Check Connection` command to validate proxy settings)\n- 🚀 **VS Code 1.109+ settings modernization** (aligns with the Language Model provider settings UI)\n- 🧱 **Tool-call compatibility hardening** (normalizes tool call IDs to OpenAI-compatible limits)\n- 🧰 **Stability Improvements** (hardened JSON parsing and stream error recovery)\n- 📦 **Smaller, faster package** (bundled/minified production builds)\n\n---\n\n## ⚙️ Configuration\n\n- `litellm-connector.inactivityTimeout` *(number, default: 60)*\n  - Seconds of inactivity before the LiteLLM connection is considered idle.\n- `litellm-connector.disableCaching` *(boolean, default: true)*\n  - Sends `no-cache: true` and `Cache-Control: no-cache` to bypass LiteLLM caching.\n\n---\n\n## ⌨️ Commands\n\n- **Manage LiteLLM Provider**: Configure Base URL + API Key; refreshes models.\n- **LiteLLM: Check Connection**: Verify proxy URL and API key configuration.\n- **LiteLLM: Select Inline Completion Model**: Choose a model for inline completions.\n- **LiteLLM: Select Commit Message Model**: Choose a model for git commit generation.\n\n---\n\n## 🐛 Bug reports \u0026 feature requests\n\nPlease use GitHub Issues: https://github.com/gethnet/litellm-connector-copilot/issues\n\nIncluding VS Code version, extension version, model id, and LiteLLM proxy details/logs (if possible) helps reproduce issues quickly.\n\n---\n\n## 🧩 Notes\n\n- This extension is a **provider** for the official Copilot Chat experience.\n- It won’t function without the **GitHub Copilot Chat** extension installed.\n\n---\n\n## 🆘 Support\n\n- Issues \u0026 feedback: https://github.com/gethnet/litellm-connector-copilot/issues\n- License: Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgethnet%2Flitellm-connector-copilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgethnet%2Flitellm-connector-copilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgethnet%2Flitellm-connector-copilot/lists"}