-
Notifications
You must be signed in to change notification settings - Fork 63
feat: Generate Citations #96
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
Conversation
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.
Pull request overview
This PR introduces a new generate_citations tool to complement the existing verify_citations functionality, allowing users to generate citations from URLs, arXiv IDs, DOIs, or titles. The PR also updates the XtraMCP server version, improves tool prompts, and enables two previously commented-out tools (search_user and get_user_papers).
Changes:
- Added
generate_citationstool with a dedicated UI component following the same pattern asverify_citations - Updated default prompts with improved instructions and clearer parameter documentation
- Upgraded XtraMCP server image to sha-79eb631
- Enabled
search_userandget_user_paperstools - Added a hardcoded date warning for paper search results
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| webapp/_webapp/src/components/message-entry-container/tools/xtramcp/utils/common.tsx | Registered generate_citations tool and enabled search_user and get_user_papers tools in the XtraMCP tool list |
| webapp/_webapp/src/components/message-entry-container/tools/xtramcp/search-relevant-papers.tsx | Added hardcoded warning message about paper database cutoff date (31st Dec 2025) |
| webapp/_webapp/src/components/message-entry-container/tools/xtramcp/generate-citations.tsx | New React component for displaying generate_citations tool results with metadata dropdown |
| webapp/_webapp/src/components/message-entry-container/tools/tools.tsx | Imported and integrated GenerateCitationsCard component into the tool routing logic |
| internal/api/user/list_prompts.go | Comprehensive update to default prompts with improved instructions, added new "Tool List" and "Generate Citations" prompts, reorganized and enhanced existing prompts |
| helm-chart/values.yaml | Updated XtraMCP server image tag from sha-2f1404c to sha-79eb631 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
webapp/_webapp/src/components/message-entry-container/tools/xtramcp/search-relevant-papers.tsx
Outdated
Show resolved
Hide resolved
webapp/_webapp/src/components/message-entry-container/tools/xtramcp/generate-citations.tsx
Outdated
Show resolved
Hide resolved
webapp/_webapp/src/components/message-entry-container/tools/xtramcp/generate-citations.tsx
Outdated
Show resolved
Hide resolved
|
This is a pure backend PR and not involving any protocol change, will be deployed soon |
verify-citations, allowing users to easily generate citations into their.bibfile by pasting URLs, arxiv IDs, DOIs, or generic titles..bibfile in a subsequent PR.Additional:
Generated citation is as expected.
