fix: docker rag bug

This commit is contained in:
Hk-Gosuto
2024-04-08 12:42:10 +08:00
parent b00e9f0c79
commit dc4137505e
11 changed files with 20 additions and 16 deletions

View File

@@ -56,8 +56,10 @@ export const useAccessStore = createPersistStore(
return get().needCode;
},
isEnableRAG() {
return ensure(get(), ["isEnableRAG"]);
enableRAG() {
this.fetch();
return get().isEnableRAG;
},
isValidOpenAI() {