Remove unused persona marketplace and discover page files.
This commit is contained in:
@@ -17,9 +17,7 @@ export function createMessageRenderer({
|
||||
renderDrawerSummary,
|
||||
updateChatActionState,
|
||||
updateComposerPlaceholder,
|
||||
createNewChat,
|
||||
openRoleplayStarter,
|
||||
openPersonaForm
|
||||
createNewChat
|
||||
}) {
|
||||
const jumpToLatest = document.getElementById("jumpToLatest");
|
||||
|
||||
@@ -301,13 +299,7 @@ export function createMessageRenderer({
|
||||
description.textContent = "Choose a starting point.";
|
||||
actions.append(
|
||||
createStarterAction("New chat", "primary-action", () => { void createNewChat(); }),
|
||||
createStarterAction("Roleplay", "secondary-action", () => {
|
||||
if (state.assistantPersonas.length) {
|
||||
openRoleplayStarter();
|
||||
return;
|
||||
}
|
||||
openPersonaForm(null, "assistant");
|
||||
}),
|
||||
createStarterAction("Browse Personalities", "secondary-action", () => { location.assign("/app/personas"); }),
|
||||
createMessageStarterPrompt("Try a prompt", "Help me plan my day in 3 steps.")
|
||||
);
|
||||
} else if (chat.assistant_persona_id) {
|
||||
@@ -315,8 +307,7 @@ export function createMessageRenderer({
|
||||
description.textContent = "Send a line or pick a prompt.";
|
||||
actions.append(
|
||||
createMessageStarterPrompt("Add tension", "Open with a tense line that raises the stakes immediately."),
|
||||
createMessageStarterPrompt("Set the scene", "Describe what your character notices first in this scene."),
|
||||
createStarterAction("Change setup", "secondary-action", () => openRoleplayStarter())
|
||||
createMessageStarterPrompt("Set the scene", "Describe what your character notices first in this scene.")
|
||||
);
|
||||
} else {
|
||||
title.textContent = "What can I help with?";
|
||||
|
||||
Reference in New Issue
Block a user