Remove unused persona marketplace and discover page files.
This commit is contained in:
@@ -321,11 +321,11 @@ test("chat search integrates with streaming, persistence, personas, settings, re
|
||||
|
||||
failSearch = false;
|
||||
emptySearch = false;
|
||||
const persona = (await api("/personas", { personaType: "assistant", name: "ResearchGuide", details: "Patient researcher" })).body.persona;
|
||||
const personaChat = (await api("/chats", { assistantPersonaId: persona.id })).body.chat;
|
||||
assert.equal((await api("/personas", { personaType: "assistant", name: "ResearchGuide" })).status, 404);
|
||||
const personaChat = (await api("/chats", { personalityId: "researcher" })).body.chat;
|
||||
assert.equal((await api("/chat", { chatId: personaChat.id, model: "persona:model", message: "news", webSearch: true })).status, 200);
|
||||
assert.equal(calls.at(-1).model, "persona:model");
|
||||
assert.ok(calls.at(-1).messages.some((message) => message.content.includes("ResearchGuide")));
|
||||
assert.ok(calls.at(-1).messages.some((message) => message.content.includes("research specialist")));
|
||||
assert.ok(calls.at(-1).messages.some((message) => message.content.includes("WEB SEARCH GROUNDING")));
|
||||
|
||||
// A separate app proves missing configuration does not prevent startup or normal chat.
|
||||
|
||||
Reference in New Issue
Block a user