-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added docs functionality #32
Conversation
WalkthroughThe changes primarily involve the modification of import paths in the Changes
TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to filter (3)
- level_3/docker-compose.yml
- level_3/poetry.lock
- level_3/pyproject.toml
Files selected for processing (1)
- level_3/api.py (1 hunks)
Files skipped from review due to trivial changes (1)
- level_3/api.py
Rework of the cognee lib exception/error handling. Added custom exceptions and custom exception handling. Whenever a custom exception is raised in the cognee fastapi backend it will be processed by the exception handler making sure exception information is logged and proper JSONResponse is sent. No need to catch these exception in endpoints with the goal of logging and responding. Note: The exception handler is only used for the cognee FastAPI backend server, using cognee as a library won't utilize this exception handling
Summary by CodeRabbit
Refactor:
api.py
forAsyncSessionLocal
andsession_scope
to improve code organization and maintainability. This change does not affect the functionality or user experience of the application.