Multiple narratives join
This commit is contained in:
parent
7b9fc8aa1d
commit
433be9a4a4
@ -117,7 +117,9 @@ class GameEngine:
|
||||
args = tc.get("args", {})
|
||||
|
||||
if name == "narrative":
|
||||
book_log = args.get("text", book_log)
|
||||
text = args.get("text", "")
|
||||
if text:
|
||||
book_log = (book_log + "\n\n" + text) if book_log else text
|
||||
elif name == "finalize_turn":
|
||||
if args.get("user_prompt"):
|
||||
user_prompt = args["user_prompt"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user