gpt3: fix bad method call
This commit is contained in:
parent
3b53f74602
commit
51a201dc2d
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue