Added prompt expansion with saved character feature

This commit is contained in:
Alen-joy47 2025-04-02 06:42:52 +00:00
parent c60526d988
commit 19c46699f3
1 changed files with 13 additions and 0 deletions

13
modules/shared.py Normal file
View File

@ -0,0 +1,13 @@
# shared.py
# Global variable to store the saved character
saved_character = None
def save_character(character):
"""Save a character description globally."""
global saved_character
saved_character = character
def get_saved_character():
"""Retrieve the saved character description."""
return saved_character