Skip to content

Conversation

@4ndrelim
Copy link
Member

@4ndrelim 4ndrelim commented Jan 24, 2026

  1. We introduce a complementary tool to verify-citations, allowing users to easily generate citations into their .bib file by pasting URLs, arxiv IDs, DOIs, or generic titles.
  2. [Follow-up] Currently, the result is returned to the user for copy-pasting. We can consider directly modifying the user's .bib file in a subsequent PR.
  3. XtraMCP tag has been updated to use the latest stable version.

Additional:

  1. Tool Prompts have been updated for improved performance

Generated citation is as expected.
Image_20260122213517_1205_1

Copilot AI review requested due to automatic review settings January 24, 2026 01:03
@4ndrelim 4ndrelim requested a review from Junyi-99 January 24, 2026 01:03
Copy link
Contributor

Copilot AI left a 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_citations tool with a dedicated UI component following the same pattern as verify_citations
  • Updated default prompts with improved instructions and clearer parameter documentation
  • Upgraded XtraMCP server image to sha-79eb631
  • Enabled search_user and get_user_papers tools
  • 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.

@Junyi-99
Copy link
Member

This is a pure backend PR and not involving any protocol change, will be deployed soon

@Junyi-99 Junyi-99 merged commit eb9820d into main Jan 26, 2026
1 check passed
@Junyi-99 Junyi-99 deleted the feat-generate-citations branch January 26, 2026 03:29
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.

3 participants