gpt3: fix bad method call

This commit is contained in:
dece 2022-12-01 12:03:45 +01:00
parent 3b53f74602
commit 51a201dc2d

View file

@ -24,7 +24,7 @@ class Gpt3Plugin(Plugin):
if completion and (reply := self.sanitize(completion)): if completion and (reply := self.sanitize(completion)):
self.bot.say(target, reply) self.bot.say(target, reply)
else: else:
self.bot.signal_failure(target) self.signal_failure(target)
def complete(self, prompt: str) -> Optional[str]: def complete(self, prompt: str) -> Optional[str]:
try: try: