File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
plugins/conversational-plugin/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ( ) ,
You can’t perform that action at this time.
0 commit comments