Merged
Conversation
…agement. - Moved API route handlers to be defined before router inclusions for better organization. - Updated logging to use a consistent logger across various modules, replacing print statements with logger.debug and logger.error. - Removed redundant logging configurations from individual service files, centralizing it in main.py. - Cleaned up imports and improved code readability across multiple router files.
…rvices. - Introduced a new `dependencies.py` module for common auth dependencies - Introduced a new `helpers.py` module for shared utilities, including standardized logging and error handling functions. - Updated all service and router files to utilize the new logging and error handling methods, improving consistency and readability. - Cleaned up imports and organized code structure for better maintainability. - Enhanced error responses to provide more context and standardized messages across the application.
122 api refactor
Change userId to hold google ID
Added deletion of emails from database when deleting account
Adding deletion of summaries when deleting users. Currently commented out to avoid extra cost of re-summarizing.
better error handling for deletion
Full User deletion
Added min and max pooling added retry on spotty connections
Fixed error in connection options
Comments
- Introduced new OpenRouter models: LLAMA_4_SCOUT, LLAMA_4_MAVERICK, and GEMMA_3_27B_IT. - Updated the summarizer provider mapping to use LLAMA_4_SCOUT for OpenRouter. - Added openrouter_api_key to the Settings class for API key management.
- .env updates - Integrated OpenRouterEmailSummarizer into the summarization service. - Updated get_summarizer function to handle OpenRouter provider. - Enhanced OpenRouterBackend for improved error handling and logging. - Added OpenRouter-specific prompt templates and response formats. - Implemented unit tests for OpenRouter summarization functionality.
- Updated MockSettings class in test_config.py to include openrouter_api_key environment variable. - Default value set for testing purposes.
- Included OPENROUTER_API_KEY in the test settings with a default value for testing. - Ensured consistency with existing environment variable handling.
- Changed openrouter_api_key to be optional, reflecting that it is no longer required. - Updated other API keys to be optional as well. - Added a model validator to ensure required API keys are present based on the selected summarizer provider.
- Included TEST_OPENROUTER_API_KEY in the GitHub Actions workflow for testing. - Ensured the new API key is sourced from the repository secrets for secure handling.
…riables - Changed environment variable names in the GitHub Actions workflow to align with the new naming convention for repository secrets. - Ensured consistency in the handling of API keys and other sensitive information for testing.
- Updated environment variable names in the GitHub Actions workflow to match the new naming convention for testing secrets. - Ensured that all API keys and sensitive information are correctly referenced for secure handling during tests.
env example updates
* settings JSDOC comments * contact comments * comments for loading * comments for privacy and terms * error and home comments * settings and home css sectioning * main comments and sectioning * router * client JSDoc * reducer JSDOC * Dashboard JSDOCS * miniview JSDOCS * auth JSDOCs * email.jsx JSDOCs * emailDisplay JSDOCs * inbox JSDOCs
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.