Remove unused persona marketplace and discover page files.
CI / check (22) (push) Failing after 16m32s
CI / check (24) (push) Failing after 15m50s

This commit is contained in:
2026-10-07 23:41:27 +02:00
parent 10ec76d437
commit 5ca611c113
34 changed files with 368 additions and 1216 deletions
+3 -2
View File
@@ -19,7 +19,8 @@ export function createConversationController({
updateJumpToLatest,
updateSendState,
loadSummary,
updateHistoryControls = () => {}
updateHistoryControls = () => {},
getPersonalityId = () => "general-assistant"
}) {
let opening = false;
function getChatById(id) { return state.chatSessions.find((chat) => chat.id === id); }
@@ -203,7 +204,7 @@ export function createConversationController({
detail: "Setting up a fresh chat so you can start sending messages."
});
try {
const res = await post("/chats", {title: "New chat"}, {signal});
const res = await post("/chats", {title: "New chat", personalityId: getPersonalityId()}, {signal});
if (res.error || !res.chat) {
const error = res.error || "Unable to create chat.";
setNotice(error, "error");