diff --git a/ai/providers/openai.py b/ai/providers/openai.py index cf01e21..a69f27b 100644 --- a/ai/providers/openai.py +++ b/ai/providers/openai.py @@ -6,6 +6,7 @@ logging.basicConfig(level=logging.ERROR) logger = logging.getLogger(__name__) + class OpenAI_API(BaseAPIProvider): MODELS = { "gpt-4-turbo": {"name": "GPT-4 Turbo", "provider": "OpenAI", "max_tokens": 4096}, diff --git a/state_store/get_user_state.py b/state_store/get_user_state.py index f9eb370..33c4d53 100644 --- a/state_store/get_user_state.py +++ b/state_store/get_user_state.py @@ -6,6 +6,7 @@ logging.basicConfig(level=logging.ERROR) logger = logging.getLogger(__name__) + def get_user_state(user_id: str, is_app_home: bool): filepath = f"./data/{user_id}" if not is_app_home and not os.path.exists(filepath):