mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
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;
|
||||
}
|
||||
|
||||
return res;
|
||||
return res?.template ?? '';
|
||||
};
|
||||
|
||||
export const updateRAGTemplate = async (token: string, template: string) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue