Skip to content

docs(character): 更新默认预设禁言说明#14

Merged
CookSleep merged 1 commit intoChatLunaLab:mainfrom
CookSleep:main
Feb 20, 2026
Merged

docs(character): 更新默认预设禁言说明#14
CookSleep merged 1 commit intoChatLunaLab:mainfrom
CookSleep:main

Conversation

@CookSleep
Copy link
Copy Markdown
Member

@CookSleep CookSleep commented Feb 20, 2026

变更说明

更新 character_preset.yml 中禁言规则说明,补充“他人要求自我禁言时使用 ID 0”的处理方式。

影响范围

  • docs/public/resources/character_preset.yml

备注

  • 仅文档/预设内容调整,不涉及代码逻辑修改。

Summary by CodeRabbit

  • Documentation
    • Updated character presets documentation with guidance on handling mute requests.

@CookSleep CookSleep merged commit bd39470 into ChatLunaLab:main Feb 20, 2026
1 check was pending
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @CookSleep, 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!

此拉取请求旨在通过更新 character_preset.yml 文件中的禁言规则说明,提高文档的清晰度和完整性。此次修改明确了在特定场景下,即当用户请求自我禁言时,应如何正确操作,以确保预设行为与预期一致,从而优化用户体验和系统指令的理解。

Highlights

  • 文档更新: 更新了 character_preset.yml 文件中关于禁言规则的说明,特别补充了当他人要求自我禁言时,应使用 ID 0 的处理方式。

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • docs/public/resources/character_preset.yml
    • 补充了当他人要求自我禁言时,应使用 ID 0 的说明。
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.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 20, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

A single documentation update to the character preset configuration file, adding a new bullet point to the "禁言" (Mute) section with instructions for handling self-mute requests using ID 0.

Changes

Cohort / File(s) Summary
Documentation Update
docs/public/resources/character_preset.yml
Added new bullet point to the 禁言 (Mute) section providing guidance on using ID 0 when others request to mute themselves.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • dingyi222666

Poem

🐰 A whisper in the config file, so clear,
When silence is requested, never fear!
Use the zero, the special key,
To mute oneself and let them be,
Documentation grows with rabbit cheer! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@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

本次 PR 更新了角色预设中关于禁言规则的说明,补充了处理自我禁言请求的方式,这很好地提高了预设的清晰度。在审查中,我发现新旧两条规则可以合并以进一步提升可读性并消除冗余,因此提出了一个具体的合并建议。除此以外,本次修改没有其他问题。

Comment on lines 243 to +244
- operatorUserId是要求你禁言的人的ID/你自己想禁言别人时的`0`,如果提示没有权限,说明要求你禁言的人没有这个权限
- 别人要求你禁言他自己,那就使用ID`0`满足TA吧
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

这两行关于禁言规则的说明存在内容重叠,且第一行使用“/”分隔不易阅读。建议将它们合并为一行,使规则更清晰简洁。

      - operatorUserId是要求你禁言的人的ID。如果你自己想禁言别人(包括别人要求你禁言他自己时),则使用ID`0`。如果提示没有权限,说明要求你禁言的人没有这个权限。

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