feat: title trim quotation marks
This commit is contained in:
1 parent
7f617225a0
commit
9aa689ea56
2 files changed
+2
-2
No files matched your search
@@ -182,7 +182,7 @@ export const generateTitle = async (
|
||||
throw error;
|
||||
}
|
||||
|
||||
return res?.response ?? 'New Chat';
|
||||
return res?.response.replace(/["']/g, '') ?? 'New Chat';
|
||||
};
|
||||
|
||||
export const generatePrompt = async (token: string = '', model: string, conversation: string) => {
|
||||
|
||||
Reference in new issue
Block a user