diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 9c2a6e47f..19166c341 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -37,6 +37,7 @@ import AutoIcon from "../icons/auto.svg"; import BottomIcon from "../icons/bottom.svg"; import StopIcon from "../icons/pause.svg"; import RobotIcon from "../icons/robot.svg"; +import PluginIcon from "../icons/plugin.svg"; import { ChatMessage, @@ -587,6 +588,12 @@ export function ChatActions(props: { icon={} /> + showToast(Locale.WIP)} + text={Locale.Plugin.Name} + icon={} + /> + {showModelSelector && ( } - text={shouldNarrow ? undefined : Locale.Plugin.Name} + icon={} + text={shouldNarrow ? undefined : Locale.Discovery.Name} className={styles["sidebar-bar-button"]} onClick={() => setShowPluginSelector(true)} shadow diff --git a/app/icons/discovery.svg b/app/icons/discovery.svg new file mode 100644 index 000000000..d6b91346c --- /dev/null +++ b/app/icons/discovery.svg @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 795c04de0..3de062eef 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -458,6 +458,9 @@ const cn = { Plugin: { Name: "插件", }, + Discovery: { + Name: "发现", + }, FineTuned: { Sysmessage: "你是一个助手", }, diff --git a/app/locales/en.ts b/app/locales/en.ts index 432785173..5b42663cf 100644 --- a/app/locales/en.ts +++ b/app/locales/en.ts @@ -465,6 +465,9 @@ const en: LocaleType = { Plugin: { Name: "Plugin", }, + Discovery: { + Name: "Discovery", + }, FineTuned: { Sysmessage: "You are an assistant that", },