Commit 082d1d15 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: template load issue

parent 5270efa9
...@@ -82,7 +82,7 @@ export const getRAGTemplate = async (token: string) => { ...@@ -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) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment