Skip to content

Conversation

@DeclineThyself
Copy link

@DeclineThyself DeclineThyself commented Oct 28, 2025

Added chatTree information to swipes.md
Context: SillyTavern/SillyTavern#4573 (comment)

This should not be merged until SillyTavern/SillyTavern#4573.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @DeclineThyself, 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 a comprehensive guide for the "Swipes" feature. It covers both user-facing aspects of regenerating messages and developer-centric details regarding the underlying chatTree mechanism, ensuring a more thorough understanding of this functionality.

Highlights

  • New Documentation for Swipes: A new markdown file, swipes.md, has been added to provide in-depth documentation for the "Swipes" feature, explaining its functionality and usage.
  • Developer Information on chatTree: The new swipes.md file includes a dedicated section for developers, detailing the chatTree data structure and its role in managing alternate message branches.
  • Updated Navigation Link: The Usage/Chatting/index.md file has been updated to include a direct hyperlink to the newly created swipes.md documentation, improving discoverability for users.
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.

@DeclineThyself DeclineThyself marked this pull request as draft October 28, 2025 03:34
Copy link
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 new documentation for the 'Swipes' and chatTree features, which is a valuable addition for users. The new swipes.md page is well-structured, covering both user-facing functionality and developer-specific details. I've provided several suggestions to enhance the clarity, formatting, and consistency of the new documentation to make it even more helpful for the community.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

This pull request introduces comprehensive documentation for the 'Swipes' feature, covering both user-facing aspects of regenerating messages and developer-centric details regarding the underlying chatTree mechanism. It aims to provide a more thorough understanding of this functionality and integrates the new documentation into the existing navigation structure.

Highlights

  • New Documentation for Swipes: A new markdown file, swipes.md, has been added to provide in-depth documentation for the 'Swipes' feature, explaining its functionality and usage.
  • Developer Information on chatTree: The new swipes.md file includes a dedicated section for developers, detailing the chatTree data structure and its role in managing alternate message branches.
  • Updated Navigation Link: The Usage/Chatting/index.md file has been updated to include a direct hyperlink to the newly created swipes.md documentation, improving discoverability for users.
Changelog
  • Usage/Chatting/index.md
    • Updated the link for 'Swipe the response' to point to the newly created swipes.md documentation file.
  • Usage/Chatting/swipes.md
    • Added a new documentation file detailing the 'Swipes' feature.
    • Included sections on basic usage, the experimental 'Show Swipes for all Messages' feature, and a video demonstration.
    • Provided developer-focused information on the chatTree structure, how it stores hidden swipes, and relevant functions like saveChatToTree() and getChatFromTree().
    • Referenced PR #4573 for more information on the chatTree implementation.
Activity
  • gemini-code-assist[bot] provided an initial summary of the pull request.
  • gemini-code-assist[bot] suggested aligning the route in the frontmatter of swipes.md with its file path for better consistency.
  • gemini-code-assist[bot] recommended formatting 'Swipes' as plain or bold text instead of inline code in swipes.md for improved readability.
  • gemini-code-assist[bot] advised clarifying the explanation of default swipe behavior versus the 'Show Swipes for all Messages' feature in swipes.md.
  • gemini-code-assist[bot] pointed out and suggested removing an empty <style> block in swipes.md.
  • gemini-code-assist[bot] suggested expanding on or removing the statement about manual 'Chat Tree exports' in swipes.md to make it more useful for users.
  • gemini-code-assist[bot] recommended using emphasized text instead of an h6 heading for an informational note in swipes.md.
  • gemini-code-assist[bot] suggested removing extra blank lines in swipes.md to improve formatting.
  • gemini-code-assist[bot] proposed correcting the grammatical structure of a sentence regarding chatTree access in swipes.md.
  • gemini-code-assist[bot] suggested removing unnecessary backticks around the pull request number in a link within swipes.md.

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