Closed mashwishi closed 1 year ago
This issue is fixed now..
Issue: no newBard in the payload that's why it is falling to the createChat that requires ids.. Solution: add newBard to the payload
{
"message": "hello",
"ai": "bard",
"newBard": true
}
Now I have new issue which is related to initialization, I was not able to make work even I added 1PSID also tried 1PSID and 1PSIDTS also tried the other XPSID and tried other XPSID with XPSIDTS none of it works...
Fixed now i relogged in my gmail
time to relogin me 12 gmails :')
hahaha
Re-opening, issue still same when trying to recover conversation.
is this how it really supposed to be ? well i can't see error from the syntax because it isnt throwing any..
Solution: it is not newBard it is myBard that variable doc use for the new Bard.
imagine coding at 2am-3am and you're reading this code T_T took me ours to realize.
I will keep this open until docs is updated so people can check this if they missed this part also
I will keep this open until docs is updated so people can check this if they missed this part also
You could add an entry to the FAQ
Should be all fixed.
Prerequisites
bard-ai
Bug Description
I am trying to implement from 1.5.X to 2.0.3 and I have encountered
TypeError: Cannot read properties of undefined (reading 'createChat')
while following this new documentation for V2.Console log:
Reproduction Steps
Code:
Other information
Occurance Rate
I can reproduce this bug 100% of the time.