backboard and function test
This commit is contained in:
@@ -33,7 +33,7 @@ class ChatManager:
|
||||
self.raw_score_prompts = raw_score_prompts
|
||||
self.chapter_chain = load_chapters(raw_markdown, raw_markdown_prompts, raw_score_prompts)
|
||||
self.function_manager = FunctionManager()
|
||||
|
||||
self.bb = None
|
||||
|
||||
def next_chapter(self):
|
||||
assert self.chapter_chain_now + 1 < len(self.chapter_chain), "chapter_chain_now out of range"
|
||||
@@ -46,6 +46,8 @@ class ChatManager:
|
||||
self.chapter_chain[chapter_index].Focus()
|
||||
self.ase_client.loadmarkdown(self.chapter_chain[chapter_index].chapter, self.chapter_chain[chapter_index].chapter_prompt, self.chapter_chain[chapter_index].score_prompt)
|
||||
|
||||
def upload_bb(self):
|
||||
self.ase_client.send_text('backboard-in', self.bb.get_info_prompt())
|
||||
|
||||
def message_pass(self, messagetype, message):
|
||||
print("message_pass", self.user_uuid, messagetype, message)
|
||||
|
||||
Reference in New Issue
Block a user