forked from open-webui/open-webui
fix: template load issue
This commit is contained in:
parent
5270efa9e5
commit
082d1d15c3
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue