-
Notifications
You must be signed in to change notification settings - Fork 128
Fix: Add missing await keyword in authentication dependency and make β¦ #178
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -68,8 +68,9 @@ async def test_weaviate_connection(self): | |
| if await client.is_ready(): | ||
| logger.info("Weaviate connection successful and ready") | ||
| except Exception as e: | ||
| logger.error(f"Failed to connect to Weaviate: {e}") | ||
| raise | ||
| logger.warning(f"Failed to connect to Weaviate during startup: {e}") | ||
| logger.warning("Continuing without Weaviate - some features may not work") | ||
| # Don't raise - allow backend to start even if Weaviate is unavailable | ||
|
||
|
|
||
| async def stop_background_tasks(self): | ||
| """Stops all background tasks and connections gracefully.""" | ||
|
|
||
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.
I don't think we should let the backend start without all the services running before using the 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.
done as requested sir