From 97df0fb5ed49e37d1c8e0e62057bb72ba5c9eb6a Mon Sep 17 00:00:00 2001
From: chunhualin1 <chunhualin1@lenovo.com>
Date: 星期三, 12 八月 2026 17:24:49 +0800
Subject: [PATCH] 优化透明样式
---
samples/plugins/sample.llm-command-palette/plugin.json | 80 +++++++++++++++++++++++++++++++++++++++-
1 files changed, 78 insertions(+), 2 deletions(-)
diff --git a/samples/plugins/sample.llm-command-palette/plugin.json b/samples/plugins/sample.llm-command-palette/plugin.json
index c23e873..61e21ae 100644
--- a/samples/plugins/sample.llm-command-palette/plugin.json
+++ b/samples/plugins/sample.llm-command-palette/plugin.json
@@ -22,7 +22,83 @@
"displayLayer": "desktop"
},
"config": {
- "defaultModel": "",
- "models": []
+ "mode": "provider-direct",
+ "aichat": {
+ "baseUrl": "http://192.168.1.111:13000",
+ "account": {
+ "email": "linmolilin@163.com",
+ "password": null,
+ "passwordEnv": "MOLI_AICHAT_PASSWORD"
+ },
+ "defaultProjectId": "cmnd8uzcl0002c9usch183a01",
+ "memory": {
+ "enabledInProviderDirect": true,
+ "defaultScope": "PROJECT",
+ "recallLimit": 8
+ }
+ },
+ "defaultModel": "deepseek-v4-flash",
+ "models": [
+ {
+ "id": "deepseek-v4-flash",
+ "label": "deepseek-v4-flash",
+ "provider": "deepseek",
+ "endpoint": "https://api.deepseek.com/chat/completions",
+ "authRef": "llm_deepseek_api_key",
+ "apiModel": "deepseek-v4-flash",
+ "supportsStreaming": true,
+ "enabled": true,
+ "requestDefaults": {
+ "temperature": 0.9,
+ "maxTokens": 8192,
+ "timeoutMs": 60000
+ }
+ },
+ {
+ "id": "kimi-k2.6",
+ "label": "kimi-k2.6",
+ "provider": "kimi",
+ "endpoint": "https://api.moonshot.cn/v1/chat/completions",
+ "authRef": "llm_kimi_api_key",
+ "apiModel": "kimi-k2.6",
+ "supportsStreaming": true,
+ "enabled": true,
+ "requestDefaults": {
+ "temperature": 0.9,
+ "maxTokens": 8192,
+ "timeoutMs": 60000
+ }
+ },
+ {
+ "id": "glm-4.7-flash",
+ "label": "glm-4.7-flash",
+ "provider": "bigmodel",
+ "endpoint": "https://open.bigmodel.cn/api/paas/v4/chat/completions",
+ "authRef": "llm_bigmodel_api_key",
+ "apiModel": "glm-4.7-flash",
+ "supportsStreaming": true,
+ "enabled": true,
+ "requestDefaults": {
+ "temperature": 0.9,
+ "maxTokens": 8192,
+ "timeoutMs": 60000
+ }
+ },
+ {
+ "id": "qwen3.6-plus",
+ "label": "qwen3.6-plus",
+ "provider": "qwen",
+ "endpoint": "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",
+ "authRef": "llm_bigmodel_api_key",
+ "apiModel": "qwen3.6-plus",
+ "supportsStreaming": true,
+ "enabled": true,
+ "requestDefaults": {
+ "temperature": 0.9,
+ "maxTokens": 8192,
+ "timeoutMs": 60000
+ }
+ }
+ ]
}
}
--
Gitblit v1.9.1