v2.0.4-rc

This commit is contained in:
Davidson Gomes 2024-07-30 17:07:45 -03:00
parent ef2291b9a9
commit 8118c68dce
6 changed files with 389 additions and 355 deletions

351
manager/dist/assets/index-BhBwBfey.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
<link rel="icon" type="image/png" href="/assets/images/evolution-logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Evolution Manager</title>
<script type="module" crossorigin src="/assets/index-DPGZHU-0.js"></script>
<script type="module" crossorigin src="/assets/index-BhBwBfey.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DbMGhR-t.css">
</head>
<body>

View File

@ -453,7 +453,18 @@ export class DifyService {
});
if (!settings) {
throw new Error('Default settings not found');
return {
expire: 0,
keywordFinish: '',
delayMessage: 0,
unknownMessage: '',
listeningFromMe: false,
stopBotFromMe: false,
keepOpen: false,
ignoreJids: [],
difyIdFallback: '',
fallback: null,
};
}
return {

View File

@ -604,7 +604,19 @@ export class OpenaiService {
});
if (!settings) {
throw new Error('Default settings not found');
return {
openaiCredsId: null,
expire: 0,
keywordFinish: '',
delayMessage: 0,
unknownMessage: '',
listeningFromMe: false,
stopBotFromMe: false,
keepOpen: false,
ignoreJids: [],
openaiIdFallback: null,
fallback: null,
};
}
return {

View File

@ -451,7 +451,18 @@ export class TypebotService {
});
if (!settings) {
throw new Error('Default settings not found');
return {
expire: 0,
keywordFinish: '',
delayMessage: 0,
unknownMessage: '',
listeningFromMe: false,
stopBotFromMe: false,
keepOpen: false,
ignoreJids: [],
typebotIdFallback: null,
fallback: null,
};
}
return {