mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
fix: update conversation context condition
This commit is contained in:
parent
a11ee925a6
commit
904397d3fe
@ -255,7 +255,7 @@ export class BotService {
|
|||||||
convo.context.attempt++;
|
convo.context.attempt++;
|
||||||
fallback = true;
|
fallback = true;
|
||||||
} else {
|
} else {
|
||||||
if (convo.context) convo.context.attempt = 0;
|
convo.context.attempt = 0;
|
||||||
fallbackBlock = undefined;
|
fallbackBlock = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user