-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Bug]: Public Brain subscriptions - Not functioning #1713
Comments
🤖 Hello @LordDougall, Welcome to the Quivr GitHub repository! I'm Dosu, an AI assistant here to help you with any bugs, answer questions, and guide you through becoming a contributor. I'm here to assist while you're waiting for a human maintainer. Let's get started on solving your issue! Thank you for bringing this issue to our attention. Based on the changes made in the latest version of Quivr, there are a few potential reasons why you might be experiencing issues when trying to subscribe to public brains. In the latest version, a new endpoint was added to subscribe to a public brain. This endpoint checks if the user is already subscribed to the brain and if the brain is public. If the brain is of type "api", it also checks for the required secrets. If all checks pass, the user is added to the brain with viewer rights. If you're trying to subscribe to a public brain of type "api", you need to provide the correct secrets. If a required secret is not provided, an HTTPException is raised with a status code of 400 and a detail message indicating the missing secret. Here are some potential error messages or behaviors you might observe based on the code:
To help us better understand the issue, could you please provide more details about the error you're experiencing? Specifically, are you seeing any error messages when you try to subscribe to a public brain? If so, what are they? Also, are you trying to subscribe to a public brain of type "api"? If so, are you providing the required secrets? Your feedback is invaluable in helping us improve Quivr, and we appreciate your patience as we work to resolve this issue. Sources |
Error produced when a brain, set to public, containing knowledge, is listed in brains-management/library. (NOT API BRAIN) When another user (not owner) attempts to subscribe by clicking button on /brains-management/library page, there is no error message popup - Only error is displayed in console fd9d1056-84dd40c146c17fec.js:9 Uncaught TypeError: Cannot convert undefined or null to object
|
Correction - Functions as expected in v0.0.111 |
Thanks to @LordDougall for describing this issue so well! Just fixed it in #1727 |
nice seems to be working |
What happened?
Seems as if the new secrets tied to brain created an issue when going to subscribe to public brains.
Relevant log output
No response
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: