feat(app): 添加新的 TTS 模型并更新插件配置

- 在 constant.ts 中添加了新的 TTS 模型:tts-1-hd 和 tts-1
- 更新 plugins.json,使用 GitHub 代理地址获取插件 schema,提高访问速度
- 新增 npmsearch 插件配置
This commit is contained in:
chenxv399 2025-01-12 11:17:52 +08:00
parent d5c984d906
commit 22d62e7c1f
2 changed files with 10 additions and 3 deletions

View File

@ -350,6 +350,8 @@ const openaiModels = [
"dall-e-3",
"o1-mini",
"o1-preview",
"tts-1-hd",
"tts-1",
];
export const realtimeModels = [

View File

@ -2,16 +2,21 @@
{
"id": "dalle3",
"name": "Dalle3",
"schema": "https://raw.githubusercontents.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/dalle/openapi.json"
"schema": "https://ghproxy.cn/https://raw.githubusercontent.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/dalle/openapi.json"
},
{
"id": "arxivsearch",
"name": "ArxivSearch",
"schema": "https://raw.githubusercontents.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/arxivsearch/openapi.json"
"schema": "https://ghproxy.cn/https://raw.githubusercontent.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/arxivsearch/openapi.json"
},
{
"id": "duckduckgolite",
"name": "DuckDuckGoLiteSearch",
"schema": "https://raw.githubusercontents.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/duckduckgolite/openapi.json"
"schema": "https://ghproxy.cn/https://raw.githubusercontent.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/main/plugins/duckduckgolite/openapi.json"
},
{
"id": "npmsearch",
"name": "NPMRegistrySearchAPI",
"schema": "https://ghproxy.cn/https://raw.githubusercontent.com/ChatGPTNextWeb/NextChat-Awesome-Plugins/refs/heads/main/plugins/npmsearch/openapi.json"
}
]