mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
fix: template load issue
This commit is contained in:
parent
5270efa9e5
commit
082d1d15c3
@ -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 New Issue
Block a user