diff options
| author | Bobby <[email protected]> | 2024-12-16 18:38:05 +0000 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-12-16 18:38:05 +0000 |
| commit | ea8f5e8517161c1bd52f61198138dfd2fc72f8e2 (patch) | |
| tree | 19dd955137c8c6bb9c1143bbced320737cd93b09 /chat/skippy.py | |
| parent | 04788ddd83c5e80a09a468d07427f0e365db71d7 (diff) | |
| download | thatcomputerscientist-ea8f5e8517161c1bd52f61198138dfd2fc72f8e2.tar.xz thatcomputerscientist-ea8f5e8517161c1bd52f61198138dfd2fc72f8e2.zip | |
its all in a state of chaos, but it shall be working soon
Diffstat (limited to 'chat/skippy.py')
| -rw-r--r-- | chat/skippy.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/chat/skippy.py b/chat/skippy.py index 6fa3aaa1..55b6e593 100644 --- a/chat/skippy.py +++ b/chat/skippy.py @@ -1,10 +1,14 @@ -from .chat_cache import get_user_messages, save_user_messages +# from .chat_cache import get_user_messages, save_user_messages def invokeMFSkippy(message, identifier): - save_user_messages(user_identifier=identifier, message={'content': message, 'role': 'user'}) - user_messages = get_user_messages(user_identifier=identifier) - if len(user_messages) == 1: - return "Skippy here. No one's around, you are free to browse around or keep sending messages like a weirdo. Bye." - else: - return None + # save_user_messages( + # user_identifier=identifier, message={"content": message, "role": "user"} + # ) + # user_messages = get_user_messages(user_identifier=identifier) + # if len(user_messages) == 1: + return "Skippy here. No one's around, you are free to browse around or keep sending messages like a weirdo. Bye." + + +# else: +# return None |
