File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ import AutoIcon from "../icons/auto.svg";
3737import BottomIcon from "../icons/bottom.svg" ;
3838import StopIcon from "../icons/pause.svg" ;
3939import RobotIcon from "../icons/robot.svg" ;
40+ import PluginIcon from "../icons/plugin.svg" ;
4041
4142import {
4243 ChatMessage ,
@@ -587,6 +588,12 @@ export function ChatActions(props: {
587588 icon = { < RobotIcon /> }
588589 />
589590
591+ < ChatAction
592+ onClick = { ( ) => showToast ( Locale . WIP ) }
593+ text = { Locale . Plugin . Name }
594+ icon = { < PluginIcon /> }
595+ />
596+
590597 { showModelSelector && (
591598 < Selector
592599 defaultSelectedValue = { `${ currentModel } @${ currentProviderName } ` }
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import AddIcon from "../icons/add.svg";
1010import CloseIcon from "../icons/close.svg" ;
1111import DeleteIcon from "../icons/delete.svg" ;
1212import MaskIcon from "../icons/mask.svg" ;
13- import PluginIcon from "../icons/plugin.svg" ;
1413import DragIcon from "../icons/drag.svg" ;
14+ import DiscoveryIcon from "../icons/discovery.svg" ;
1515
1616import Locale from "../locales" ;
1717
@@ -242,8 +242,8 @@ export function SideBar(props: { className?: string }) {
242242 shadow
243243 />
244244 < IconButton
245- icon = { < PluginIcon /> }
246- text = { shouldNarrow ? undefined : Locale . Plugin . Name }
245+ icon = { < DiscoveryIcon /> }
246+ text = { shouldNarrow ? undefined : Locale . Discovery . Name }
247247 className = { styles [ "sidebar-bar-button" ] }
248248 onClick = { ( ) => setShowPluginSelector ( true ) }
249249 shadow
Original file line number Diff line number Diff line change @@ -458,6 +458,9 @@ const cn = {
458458 Plugin : {
459459 Name : "插件" ,
460460 } ,
461+ Discovery : {
462+ Name : "发现" ,
463+ } ,
461464 FineTuned : {
462465 Sysmessage : "你是一个助手" ,
463466 } ,
Original file line number Diff line number Diff line change @@ -465,6 +465,9 @@ const en: LocaleType = {
465465 Plugin : {
466466 Name : "Plugin" ,
467467 } ,
468+ Discovery : {
469+ Name : "Discovery" ,
470+ } ,
468471 FineTuned : {
469472 Sysmessage : "You are an assistant that" ,
470473 } ,
You can’t perform that action at this time.
0 commit comments