fix: template load issue

This commit is contained in:
Timothy J. Baek 2024-02-17 22:42:36 -08:00
parent 5270efa9e5
commit 082d1d15c3

View File

@ -82,7 +82,7 @@ export const getRAGTemplate = async (token: string) => {
throw error; throw error;
} }
return res; return res?.template ?? '';
}; };
export const updateRAGTemplate = async (token: string, template: string) => { export const updateRAGTemplate = async (token: string, template: string) => {