enh: knowledge author info

This commit is contained in:
Timothy Jaeryang Baek
2024-11-18 05:51:01 -08:00
parent a2a25fb571
commit 6c3e6710ef
5 changed files with 44 additions and 23 deletions

View File

@@ -8,6 +8,7 @@ import { TTS_RESPONSE_SPLIT } from '$lib/types';
// Helper functions
//////////////////////////
export const replaceTokens = (content, char, user) => {
const charToken = /{{char}}/gi;
const userToken = /{{user}}/gi;