Added prompt expansion with saved character feature
This commit is contained in:
parent
c60526d988
commit
19c46699f3
|
|
@ -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
|
||||
Loading…
Reference in New Issue