1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2019-12-13 13:26:17 +01:00
parent c5b6e712d8
commit f79b016e33
3 changed files with 4 additions and 5 deletions

View file

@ -50,7 +50,7 @@ class ApiKei(PageStar):
if first: if first:
self._conversations[convid] = await FirstConversation.create(self.interface) self._conversations[convid] = await FirstConversation.create(self.interface)
else: else:
self._conversations[convid] = await MainConversation.create(self.interface) self._conversations[convid] = await StartConversation.create(self.interface)
log.info(f"[{convid}] SYSTEM: New conversation created - {self._conversations[convid]}") log.info(f"[{convid}] SYSTEM: New conversation created - {self._conversations[convid]}")
conv: Conversation = self._conversations[convid] conv: Conversation = self._conversations[convid]

View file

@ -1,12 +1,11 @@
from .emotion import Emotion from .emotion import Emotion
from .conversation import Conversation, ExampleConversation, FirstConversation, MainConversation from .conversation import Conversation, FirstConversation, StartConversation
from .anyinstring import any_in_string from .anyinstring import any_in_string
__all__ = [ __all__ = [
"Emotion", "Emotion",
"Conversation", "Conversation",
"ExampleConversation",
"FirstConversation", "FirstConversation",
"MainConversation", "StartConversation",
"any_in_string", "any_in_string",
] ]

View file

@ -2,7 +2,7 @@
[tool.poetry] [tool.poetry]
name = "keipack" name = "keipack"
version = "0.3.8" version = "0.3.9"
description = "A mysterious AI assistant" description = "A mysterious AI assistant"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"] authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+" license = "AGPL-3.0+"