Skip to content
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

Feat/summary-async-celery #2561

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Fix brain ID retrieval in SummaryAssistant
  • Loading branch information
StanGirard committed May 22, 2024
commit 96f52e36a0a984604bd4408d0755b4b83522adb7
2 changes: 1 addition & 1 deletion backend/modules/assistant/ito/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def process_assistant(self):
split_docs = [doc.to_json() for doc in split_docs]
## Turn this into a task
brain_id = (
self.input.outputs.brain.id
self.input.outputs.brain.value
if self.input.outputs.brain.activated
else None
)
Expand Down
Loading