Skip to content

docs(tutorial): add content about Reasoning, MCP, and Long-Term Memory#127

Open
hongxicheng wants to merge 8 commits intoagentscope-ai:mainfrom
hongxicheng:Docs
Open

docs(tutorial): add content about Reasoning, MCP, and Long-Term Memory#127
hongxicheng wants to merge 8 commits intoagentscope-ai:mainfrom
hongxicheng:Docs

Conversation

@hongxicheng
Copy link
Collaborator

Description

image

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with npm run format command in the root directory
  • Docstrings/comments are in appropriate style (TSDoc/JSDoc for TypeScript/JavaScript, Google style for Python)
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

@gemini-code-assist
Copy link

Summary of Changes

Hello @hongxicheng, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the project's documentation by introducing detailed guides for key agent functionalities: Reasoning Mode, MCP Server Management, and Long-Term Memory. These additions provide users with essential information on how to configure and utilize these advanced features. The changes also ensure that the new content is properly integrated into the site's navigation and reflect the current state of feature development.

Highlights

  • New Documentation Added: Comprehensive documentation has been added for three core agent features: Reasoning Mode, MCP Server Management, and Long-Term Memory, available in both English and Simplified Chinese.
  • Navigation Updates: The VitePress configuration has been updated to include the new documentation pages in the sidebar navigation for both English and Chinese versions of the tutorial.
  • Feature Checklist Progress: The friday.md documentation has been updated to mark 'Long-Term Memory' and 'Support user to add MCP server dynamically' as completed features.
  • Dependency Metadata Adjustment: The package-lock.json file was updated, primarily adjusting the 'peer' property for various dependencies, likely due to an automated dependency management update.
Changelog
  • docs/.vitepress/config.mts
    • Added new navigation links for 'Reasoning', 'MCP', and 'Long-Term Memory' under the 'Agent' section for English tutorials.
    • Added new navigation links for '思考模式', 'MCP', and '长期记忆' under the '智能体' section for Simplified Chinese tutorials.
  • docs/tutorial/en/agent/LongTermMemory.md
    • Added new English documentation for Long-Term Memory, covering setup and database selection.
  • docs/tutorial/en/agent/MCP.md
    • Added new English documentation for MCP Server Management, detailing how to add, enable, and disable servers.
  • docs/tutorial/en/agent/friday.md
    • Updated the feature checklist to mark 'Support long-term memory' as completed.
    • Updated the feature checklist to mark 'Support user to add MCP server dynamically' as completed.
  • docs/tutorial/en/agent/think.md
    • Added new English documentation for Reasoning Mode, including how to enable it and configuration examples for various model providers.
  • docs/tutorial/zh_CN/agent/LongTermMemory.md
    • Added new Simplified Chinese documentation for Long-Term Memory, covering setup and database selection.
  • docs/tutorial/zh_CN/agent/MCP.md
    • Added new Simplified Chinese documentation for MCP Server Management, detailing how to add, enable, and disable servers.
  • docs/tutorial/zh_CN/agent/friday.md
    • Updated the feature checklist to mark '支持长期记忆' as completed.
    • Updated the feature checklist to mark '支持用户动态添加 MCP 服务器' as completed.
  • docs/tutorial/zh_CN/agent/think.md
    • Added new Simplified Chinese documentation for Reasoning Mode, including how to enable it and configuration examples for various model providers.
  • package-lock.json
    • Modified dependency entries by adding or removing the 'peer' property for several packages, indicating an update in dependency resolution metadata.
Activity
  • No human activity (comments, reviews) has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@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 adds new documentation pages for Reasoning, MCP, and Long-Term Memory features, and updates the navigation sidebar accordingly. The changes are well-structured and provide valuable information for users. My review focuses on improving the documentation's maintainability and correcting a minor typo. I've pointed out that the new English documentation pages are referencing assets from the Chinese documentation directory, which should be addressed. I've also noted a typo in an image filename.

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