mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-18 09:04:05 +00:00
feat: 支持开关指定内置插件
This commit is contained in:
33
app/plugins/en.ts
Normal file
33
app/plugins/en.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import { BuiltinPlugin } from "./typing";
|
||||
|
||||
export const EN_PLUGINS: BuiltinPlugin[] = [
|
||||
{
|
||||
name: "WebSearch",
|
||||
toolName: "web-search",
|
||||
lang: "en",
|
||||
description: "Web search function tool for search engines.",
|
||||
builtin: true,
|
||||
createdAt: 1693744292000,
|
||||
enable: true,
|
||||
},
|
||||
{
|
||||
name: "Calculator",
|
||||
toolName: "calculator",
|
||||
lang: "en",
|
||||
description:
|
||||
"The Calculator class is a tool used to evaluate mathematical expressions. It extends the base Tool class.",
|
||||
builtin: true,
|
||||
createdAt: 1693744292000,
|
||||
enable: true,
|
||||
},
|
||||
{
|
||||
name: "WebBrowser",
|
||||
toolName: "web-browser",
|
||||
lang: "en",
|
||||
description:
|
||||
"A class designed to interact with web pages, either to extract information from them or to summarize their content.",
|
||||
builtin: true,
|
||||
createdAt: 1693744292000,
|
||||
enable: true,
|
||||
},
|
||||
];
|
Reference in New Issue
Block a user