docs(character): 补充清理上下文说明#38
Conversation
|
Complex PR? Review this PR in Change Stack to move by importance, not file order. Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Character plugin documentation for preset templates is updated with clearer guidance on using AI to generate or modify presets, command examples for clearing context history, and a restructured explanation of the six core preset configuration fields with expanded ChangesCharacter Plugin Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the character documentation to include a tip on clearing session context using the chatluna.character.clear command, alongside minor formatting improvements. The review feedback suggests refining the phrasing for better readability and adding documentation for the default parameterless usage of the clear command.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
|
||
| **不同的预设中的指引有所不同,请仔细查看涉及到工具调用回复的部分,如 `chatluna-toolbox` 的配置说明。** | ||
|
|
||
| 你可以将上方的默认预设中的一种(及你的旧预设)发送给 AI,让它在遵循默认预设格式的情况下,为你生成新的预设(或修改旧预设)。 |
| > 命令支持以下几种使用方式: | ||
| > - 清理指定群聊上下文:`chatluna.character.clear group:123` 或 `chatluna.character.clear g:123` | ||
| > - 清理指定私聊上下文:`chatluna.character.clear private:123` 或 `chatluna.character.clear p:123` | ||
| > - 未指定会话类型时,默认清理该 ID 的群聊上下文:`chatluna.character.clear 123` |
There was a problem hiding this comment.
在实际使用中,用户最常用的操作通常是直接清理当前所在的会话上下文。建议在此处补充说明不带参数直接运行命令时的行为(即清理当前会话),以便用户更直观地了解最便捷的使用方式。\n\n例如可以修改为:\n\nmarkdown\n> 命令支持以下几种使用方式:\n> - 清理当前会话上下文:直接输入 `chatluna.character.clear`\n> - 清理指定群聊上下文:`chatluna.character.clear group:123` 或 `chatluna.character.clear g:123`\n> - 清理指定私聊上下文:`chatluna.character.clear private:123` 或 `chatluna.character.clear p:123`\n> - 未指定会话类型时,默认清理该 ID 的群聊上下文:`chatluna.character.clear 123`\n
概要
chatluna.character.clear清理上下文命令的使用方式。status字段相关文案格式。校验
git diff --checkSummary by CodeRabbit