PawanOsman / GoogleBard

GoogleBard - A reverse engineered API for Google Bard chatbot for NodeJS
https://bard.google.com
MIT License
415 stars 58 forks source link

API gives unexpected/bad responses #26

Open Daniel27110 opened 1 year ago

Daniel27110 commented 1 year ago

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.

raymerjacque commented 1 year ago

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

AtharvDhoot commented 1 year ago

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