Conversation
Contributor
There was a problem hiding this comment.
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
Junyi-99
approved these changes
Jan 26, 2026
Member
|
This is a pure backend PR and not involving any protocol change, will be deployed soon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
