From 542a46dc7cceddc8c6190f95bd56970beab4b303 Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Sun, 14 May 2023 18:25:22 +0300 Subject: [PATCH] Correct the typo in auth.json for accessing Google Palm (#266) Co-authored-by: Anton Volnuhin --- api/server/routes/ask/askGoogle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/server/routes/ask/askGoogle.js b/api/server/routes/ask/askGoogle.js index 195814dff8..8ff0e14584 100644 --- a/api/server/routes/ask/askGoogle.js +++ b/api/server/routes/ask/askGoogle.js @@ -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");