Skip to content

Synthscholar integration#73

Open
tekrajchhetri wants to merge 23 commits intouser-rbacfrom
synthscholar-integration
Open

Synthscholar integration#73
tekrajchhetri wants to merge 23 commits intouser-rbacfrom
synthscholar-integration

Conversation

@tekrajchhetri
Copy link
Copy Markdown
Collaborator

This PR integrates Synthscholar, a literature review multi-agent.

see output https://beta.brainkb.org/knowledge-base/synth-scholar

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the SynthScholar PRISMA literature review pipeline into the ml_service, including new database models, API routes, and background task orchestration. It also adds OAuth provider support and administrative bootstrap logic to the usermanagement_service. My feedback highlights critical security risks regarding default Docker volume paths, a runtime error due to an undefined helper function, and concurrency issues with ID generation. I also recommend transitioning from raw SQL ALTER statements to a dedicated migration tool like Alembic for better schema management and refining exception handling for optional dependencies.

Comment thread env.template
Comment thread ml_service/core/synth_scholar/routes.py Outdated
Comment thread ml_service/core/synth_scholar/store.py
Comment thread ml_service/core/main.py Outdated
Comment thread ml_service/core/synth_scholar/database.py
Comment thread usermanagement_service/core/bootstrap.py
tekrajchhetri and others added 2 commits May 4, 2026 09:56
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant