loi he thong

This commit is contained in:
quangdn-ght
2025-07-01 16:50:18 +07:00
parent 4ec717f94a
commit 972f957633
12 changed files with 154 additions and 18 deletions

View File

@@ -471,6 +471,9 @@ export const useChatStore = createPersistStore(
});
const api: ClientApi = getClientApi(modelConfig.providerName);
console.log(api);
// make request
api.llm.chat({
messages: sendMessages,

View File

@@ -97,7 +97,7 @@ export const useMaskStore = createPersistStore(
);
const config = useAppConfig.getState(); // Lấy config hiện tại
// console.log(config)
// console.log(config)BUILTIN_MASKS
if (config.hideBuiltinMasks) return userMasks; // Nếu ẩn mask mặc định thì chỉ trả về mask người dùng