diff --git a/src/lang/en.ts b/src/lang/en.ts index 9650607b..0b51e36c 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -580,4 +580,8 @@ export const languageEnglish = { chatFormating: "Chat Formating", useInstructPrompt: "Use Instruction Prompt", hanuraiMemory: "HanuraiMemory", + playground: "Playground", + embedding: "Embedding", + syntax: "Syntax", + run: "Run", } \ No newline at end of file diff --git a/src/lib/ChatScreens/DefaultChatScreen.svelte b/src/lib/ChatScreens/DefaultChatScreen.svelte index 0d158175..81201cc4 100644 --- a/src/lib/ChatScreens/DefaultChatScreen.svelte +++ b/src/lib/ChatScreens/DefaultChatScreen.svelte @@ -2,7 +2,7 @@ import Suggestion from './Suggestion.svelte'; import AdvancedChatEditor from './AdvancedChatEditor.svelte'; import { CameraIcon, DatabaseIcon, DicesIcon, GlobeIcon, ImagePlusIcon, LanguagesIcon, Laugh, MenuIcon, MicOffIcon, PackageIcon, RefreshCcwIcon, ReplyIcon, Send, StepForwardIcon } from "lucide-svelte"; - import { CurrentCharacter, CurrentChat, CurrentUsername, selectedCharID, CurrentUserIcon, CurrentShowMemoryLimit,CurrentSimpleCharacter } from "../../ts/stores"; + import { CurrentCharacter, CurrentChat, CurrentUsername, selectedCharID, CurrentUserIcon, CurrentShowMemoryLimit,CurrentSimpleCharacter, PlaygroundStore } from "../../ts/stores"; import Chat from "./Chat.svelte"; import { DataBase, type Message, type character, type groupChat } from "../../ts/storage/database"; import { getCharImage } from "../../ts/characters"; @@ -25,6 +25,7 @@ import { processMultiCommand } from 'src/ts/process/command'; import { postChatFile } from 'src/ts/process/files/multisend'; import { getInlayImage } from 'src/ts/process/files/image'; + import PlaygroundMenu from '../Playground/PlaygroundMenu.svelte'; let messageInput:string = '' let messageInputTranslate:string = '' @@ -391,7 +392,11 @@ openMenu = false }}> {#if $selectedCharID < 0} - + {#if $PlaygroundStore === 0} + + {:else} + + {/if} {:else}
{ //@ts-ignore @@ -721,17 +726,6 @@ {/if}