vscode-ai-model-detector

vscode-ai-model-detector

Real-time detection and classification of AI models used in VS Code Copilot and extensions.

3
Stars
0
Forks
1
Releases

Overview

VS Code AI Model Detector is a Visual Studio Code extension that provides real-time detection and classification of AI models used by GitHub Copilot and other AI-powered extensions. It identifies the active model by reading VS Code's native storage (state.vscdb) and the chat.currentLanguageModel.panel key, then parses the model identifier to determine family and provider. The extension maintains a dynamic registry of 41+ models across major providers and cross-references it to produce detailed metadata including vendor, family, capabilities, and context windows. It relies on direct integration with VS Code's SQLite storage and the Chat Participant API to achieve high-confidence detection. It supports live updates, monitoring model changes in real time, and works across VS Code Stable, Insiders, and VSCodium. The metadata model includes information such as token limits, capabilities, and model families, enabling programmatic access via a defined ModelInfo interface. The project emphasizes attribution guidance per GIT-ATT-001 and offers runtime API calls to retrieve model capabilities and details.

Details

Owner
thisis-romar
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Real-Time Model Detection

Accurately identifies the current AI model from VS Code's application storage in real time.

Dynamic Model Registry

Maintains a registry of 41+ model IDs across major AI providers with real-time updates.

High Performance

Direct integration with VS Code's SQLite storage for fast detection.

Comprehensive Classification

Detects model family, vendor, and capabilities to provide rich metadata.

Live Updates

Monitors model changes and reports updates as they occur.

High Confidence Detection

Leverages actual VS Code settings and the Chat Participant API for reliable results.

Multi-Installation Support

Works with VS Code Stable, Insiders, and VSCodium.

Tags

VS CodeCopilotAI Model DetectorReal-Time DetectionModel RegistrySQLite StorageChat Participant APIModel ClassificationMulti-InstallationHigh Confidence