Open zdkderpphb opened 3 weeks ago
Hey there, @zdkderpphb! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together!
A similar issue was not directly found, but it seems like the error is due to an extra input not being permitted in the BrainEntity
class. Adding quivr_assistant: Optional[bool] = None
to the class definition resolved the issue for you by allowing this additional input.
To properly handle this, ensure that any new attributes you add to BrainEntity
are defined in the class to avoid validation errors. This aligns with how optional attributes are typically managed in the class [1].
To continue talking to Dosu, mention @dosu.
Hey, can you try to do a supabase db reset
from the backend folder please ?
What happened?
I was unable to edit a brain because of an input error. I added the line quivr_assistant: Optional[bool] = None at the end of class BrainEntity and then it worked.
Relevant log output
Twitter / LinkedIn details
No response