Repository navigation
docs: 修正 INTERNALS.md 里指向 import_memory.py 的失效链接 - #133
Open
baimimitu-stack wants to merge 1 commit into
Open
baimimitu-stack wants to merge 1 commit into
baimimitu-stack wants to merge 1 commit into
Conversation
链接写成了 src/import_memory.py,但文件在 docs/ 下,实际解析到不存在的 docs/src/import_memory.py。改成 ../src/import_memory.py。 同一句里的函数名 _chunk_turns 已改名为 chunk_turns,「第 291 行」也已 漂移到 577 行;一并更正函数名,并去掉写死的行号,免得再次过期。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: mimitu <1564824957@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
docs/INTERNALS.md「第一人称豁免」那一句里有三处过期:src/import_memory.py是相对docs/解析的,指向不存在的docs/src/import_memory.py,点开 404。改成../src/import_memory.py。_chunk_turns已改名为chunk_turns。为什么这么改
只改文档,一行。没有选择把行号改成 577,因为行号每次改
import_memory.py都会漂,函数名更稳。测过没有
.md的相对链接,这是唯一一个指向不存在文件的;改完后扫描为空。src/import_memory.py里chunk_turns确实是生成[用户] ... [AI] ...文本块的函数。INTERNALS.md,纯文档改动,没跑 pytest。Signed-off-by:(git commit -s),表示我有权提交这些代码 —— 见 DCO 与 CONTRIBUTING.md
🤖 Generated with Claude Code