Correct the typo in auth.json for accessing Google Palm (#266)

Co-authored-by: Anton Volnuhin <anton@volnuhin.ru>
This commit is contained in:
Anton Volnuhin
2023-05-14 18:25:22 +03:00
committed by GitHub
parent bf31b1fea0
commit 542a46dc7c

View File

@@ -95,7 +95,7 @@ const ask = async ({ text, endpointOption, parentMessageId = null, conversationI
try {
if (!key) {
key = require('../../data/auth.json');
key = require('../../../data/auth.json');
}
} catch (e) {
console.log("No 'auth.json' file (service account key) found in /api/data/ for PaLM models");