Update authentication credentials in .env.example and modify password verification in auth.py to enhance security. The default password has been changed to 'volaris123' for improved security practices.
Update .gitignore to include frontend and Lung Cancer Guidelines directories. Enhance CORS middleware configuration to allow origins from environment variables, with defaults for local development. Modify session cookie settings to require secure flag for SameSite=None, improving security for cross-site requests.
Enhance API security and functionality by adding authentication middleware and session management. Updated app.py to include the new auth router and integrated authentication checks for protected endpoints. Modified requirements.txt to include necessary libraries for session handling. Updated .env.example to include authentication credentials. Improved retrieval functions with query expansion for better medical term matching and enriched context in responses.
Enhance automatic validation process in agent.py. Updated response handling to provide context and next steps when guidelines are not found, ensuring professionalism. Modified validation function to run silently in the background, logging results for backend analysis without displaying them to the user. Improved error handling and logging for validation failures.
Add session management endpoints to health and medical routers. Implemented functionality to retrieve active sessions, clear specific sessions, and clear all sessions. Updated ask and ask_stream endpoints to support optional session IDs for improved conversation continuity.
Refactor agent and tools for session-based memory management and side effect reporting. Removed medical answer validation tool, added session memory management class, and enhanced side effect reporting with LLM classification. Updated agent functions to support session IDs for improved conversation tracking.
Update .gitignore to include additional patterns for various environments, logs, and temporary files, enhancing project cleanliness and build consistency.