Add the AI prompt and parsing improvements

Merge branch "development-ai" into development
This commit is contained in:
buzz-lightsnack-2007 2024-04-15 13:24:56 +08:00
commit 4d20cdec8d
3 changed files with 11 additions and 10 deletions

View file

@ -133,7 +133,6 @@ export default class gemini {
if (Object.keys(RESPONSE).includes(`error`)) {
throw new Error(RESPONSE[`error`]);
} else {
// this[`history`] = REQUEST[`contents`];
this.response = RESPONSE;
return RESPONSE;
}