PawanOsman/GoogleBard

API gives unexpected/bad responses

Daniel27110 opened this issue · 2 comments

Starting today, the bot's answers became dull and unintelligent, replying with the same prompt that was given or fragments of the prompt.

Example:

import { Bard } from "googlebard";

let cookies = `__Secure-1PSID=<YOUR_COOKIE>`;
let bot = new Bard(cookies, {
    inMemory: false,
    savePath: "./conversations.json",
});

let conversationId = "test_id";

let response = await bot.ask("My name is Mehul", conversationId);
console.log(response);
>> Mehul

The issue persists after the module is reinstalled and also after the conversation is reset. Updating the cookie ID didn't help either. It used to work perfectly, this issue started presenting itself just today.

yea, i keep getting : "sorry i couldnt generate a response" just started recently... no errors tho.

I think google has tried to remove this unofficial api, it has stopped working for me too. More in here Github issue