feat: 支持开关指定内置插件

This commit is contained in:
Hk-Gosuto
2023-09-04 21:59:42 +08:00
parent c5cc16ca09
commit c9c5ab2a9b
17 changed files with 909 additions and 8 deletions

33
app/plugins/en.ts Normal file
View 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,
},
];