|
|
@ -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:
|
|
|
|