Skip to content

Commit 39daea8

Browse files
committed
chore: update conversation prefix
1 parent e4b66d0 commit 39daea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/conversational-plugin/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default class JanConversationalPlugin implements ConversationalPlugin {
7272
private async getConversationDocs(): Promise<string[]> {
7373
return fs.listFiles("conversations").then((files: string[]) => {
7474
return Promise.all(
75-
files.filter((file) => file.startsWith("conversation-"))
75+
files.filter((file) => file.startsWith("jan-"))
7676
);
7777
});
7878
}

web/hooks/useCreateConversation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const useCreateConversation = () => {
3131
const requestCreateConvo = async (model: Model, bot?: Bot) => {
3232
const conversationName = model.name
3333
const mappedConvo: Conversation = {
34-
_id: `conversation-${Date.now()}`,
34+
_id: `jan-${Date.now()}`,
3535
modelId: model._id,
3636
name: conversationName,
3737
createdAt: new Date().toISOString(),

0 commit comments

Comments
 (0)