fix google bug

This commit is contained in:
sijinhui
2024-07-17 13:45:09 +08:00
parent 598018e7b5
commit 7d9e85b4f4
3 changed files with 6 additions and 3 deletions

View File

@@ -706,7 +706,9 @@ export const useChatStore = createPersistStore(
set(() => ({}));
extAttr?.setAutoScroll(true);
} else {
const api: ClientApi = getClientApi(modelConfig.providerName);
const api: ClientApi = getClientApi(modelConfig.providerName)
console.log('-------', modelConfig, '-----', api)
// make request
api.llm.chat({
messages: sendMessages,