Added the ability to configure custom prompts for the main lifestyle assistant. Implemented methods for setting, resetting to default, and getting the current prompt. Updated the Gradio interface for editing prompts, including a new “Edit Prompts” tab with the ability to preview changes. Added instructions for using prompt customization in the documentation. Made changes to the lifestyle profile to synchronize custom prompts with the session.
Added support for conversation history in soft medical triage. The conduct_triage method now accepts a chat_history parameter to take into account the context of previous messages. Updated relevant prompts to improve patient interaction. Changes have also been made to lifestyle_app.py to pass conversation history. All tests passed successfully.