经 AI Skill Hub 精选评估,LiteLLM聊天 获评「强烈推荐」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
在VS Code中使用100+个LLM,实现智能聊天
LiteLLM聊天 是一款基于 TypeScript 开发的开源工具,专注于 ai、llm、copilot-chat 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
在VS Code中使用100+个LLM,实现智能聊天
LiteLLM聊天 是一款基于 TypeScript 开发的开源工具,专注于 ai、llm、copilot-chat 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:npm 全局安装 npm install -g litellm-vscode-chat # 方式二:npx 直接运行(无需安装) npx litellm-vscode-chat --help # 方式三:项目依赖安装 npm install litellm-vscode-chat # 方式四:从源码运行 git clone https://github.com/Vivswan/litellm-vscode-chat cd litellm-vscode-chat npm install npm start
# 命令行使用
litellm-vscode-chat --help
# 基本用法
litellm-vscode-chat [options] <input>
# Node.js 代码中使用
const litellm_vscode_chat = require('litellm-vscode-chat');
const result = await litellm_vscode_chat.run(options);
console.log(result);
# litellm-vscode-chat 配置说明 # 查看配置选项 litellm-vscode-chat --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export LITELLM_VSCODE_CHAT_CONFIG="/path/to/config.yml"
Use 100+ LLMs in VS Code with GitHub Copilot Chat powered by LiteLLM.
cheapest and fastest modesresponse_format, reasoning_effort, seed, and more)http://localhost:4000), and API keyOverride default request parameters for specific models using the modelParameters setting. This is useful for models with specific requirements (like gpt-5 requiring temperature: 1) or to customize behavior per model.
To configure: Add to your settings.json:
{
"litellm-vscode-chat.modelParameters": {
"gpt-5": {
"temperature": 1
},
"gpt-4": {
"max_tokens": 8000,
"temperature": 0.8,
"top_p": 0.9
},
"claude-opus": {
"max_tokens": 16000,
"temperature": 0.5
}
}
}
Supported parameters: - max_tokens - Maximum tokens in response - temperature - Randomness (0.0-2.0) - top_p - Nucleus sampling (0.0-1.0) - frequency_penalty - Reduce repetition (-2.0 to 2.0) - presence_penalty - Encourage new topics (-2.0 to 2.0) - stop - Stop sequences (string or array) - response_format - Structured output / JSON mode - reasoning_effort - Thinking/reasoning control (for supported models) - seed - Deterministic output - And any other parameter supported by your LiteLLM and model provider backend
All modelParameters keys are passed through to LiteLLM — the extension does not filter or restrict which parameters you can set. The reserved key _replaceDefaults is extension metadata and is never forwarded.
Built-in defaults: The extension applies temperature: 0.7 by default. Some models (e.g., gpt-5.5) have built-in overrides that suppress the default temperature. User modelParameters entries merge on top of these defaults.
_replaceDefaults: Set "_replaceDefaults": true in a model entry to skip built-in request-parameter defaults for that model (for example, the default temperature) and use only the request parameters you supply from configuration:
{
"litellm-vscode-chat.modelParameters": {
"gpt-4": {
"_replaceDefaults": true,
"top_p": 0.9
}
}
}
Prefix matching: Configuration keys use longest prefix matching. For example, "gpt-4" will match "gpt-4-turbo:openai", "gpt-4:azure", etc. More specific keys take precedence.
Server-scoped parameters: In multi-server setups, prefix a key with the server label and / to scope parameters to a specific server. Server-scoped entries take priority over unscoped ones:
{
"litellm-vscode-chat.modelParameters": {
"gpt-4": {
"temperature": 0.7
},
"Production/gpt-4": {
"temperature": 0.3
},
"Dev/gpt-4": {
"temperature": 0.9
}
}
}
Parameter precedence: Runtime options > User config > Defaults
高质量的AI工具,扩展了VS Code的功能
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:LiteLLM聊天 的核心功能完整,质量优秀。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | litellm-vscode-chat |
| Topics | aillmcopilot-chattypescript |
| GitHub | https://github.com/Vivswan/litellm-vscode-chat |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-07 · 更新时间:2026-06-07 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。