feat: Add configurable content inclusion for spiritual care messages, allowing dynamic selection of patient profile, situation, distress, and conversation context.
Оновлено lifestyle_profile.json: уточнено основну мету, додано нотатки про дієту та особисті вподобання пацієнта. Внесено зміни до обмежень щодо фізичної активності, зокрема, знято обмеження на виконання присідань після медичного огляду. Оновлено підсумок останньої сесії з акцентом на новий симптом та підтвердження медичної безпеки. Додано логування динамічних запитів у класі EnhancedMainLifestyleAssistant для покращення відстеження. Змінено обробку конфігурацій у класі EnvironmentConfigurationManager для підтримки тестового середовища.
Оновлено lifestyle_profile.json: уточнено основну мету, додано нотатки про дієту та особисті вподобання пацієнта. Оновлено підсумок останньої сесії з акцентом на новий симптом болю в нозі. Внесено зміни до формату виходу в prompts.py для покращення обробки даних. У класі MedicalSafetyValidator реалізовано кешування звітів про безпеку для підвищення ефективності перевірок.
The MedicalSafetyValidator class has been updated for integration with AIClientManager, allowing LLM to be used to verify the safety of collected requests. New methods have been added to validate requests with a detailed safety report. In EnhancedMainLifestyleAssistant, the API has been transferred to DynamicTemplateAssembler to improve dynamic request processing.
Updated the PROMPT_ENTRY_CLASSIFIER function to simplify query formation without clinical context. Added easy logging for dynamic queries in the EnhancedMainLifestyleAssistant class, including markers for successful use and Fallback. Fixed time formatting to UTC in the EntryClassifier class. Removed unnecessary comments and improved code structure.
CODEX: Updated the .gitignore file to exclude lifestyle_profile.json and lifestyle_profile.json.backup. In lifestyle_app.py, refactored the custom prompt synchronization method, preserved the chat history processing logic. lifestyle_profile.json and lifestyle_profile.json.backup updated to reflect new patient data, including changes to primary goal, limitations, and motivation. Improvements made to data structure for better patient health management.