Repository navigation
fix(minimax-bot): 群纪要的三处收尾——中文条目、标记变体与面板上限 - #86
Closed
Apageoflove wants to merge 1 commit into
Closed
Apageoflove wants to merge 1 commit into
Apageoflove wants to merge 1 commit into
Conversation
Contributor
Author
|
这条的三处收尾,和另一处修复(后台任务自己跑的那一回合也计入用量台账),合成一条 PR 提交了:#87。这条先关掉,免得两份内容重复。后台任务那处我只在本地脚本环境量过,真模型那一层还没跑,未验证。 |
Contributor
Author
|
补一句:后台任务那处已经在真模型上量过了 —— 让 Chief 起一个后台任务查仓库,宿主日志里 3 次模型调用(27 秒 / 103 秒 / 14 秒),台账同样 3 行,差 0,后台任务自己那回合的 103 秒和 13 次工具调用记在它自己那一行。这次只跑了一个后台任务,多个后台任务串起来的情况未验证。 |
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.
上一条 PR(#80)合进去以后,那三条建议我都改了。其中一条是我自己写出来的问题:裁一条记录的
时候,原来会一直裁到第一个空格,而中文没有空格,于是中文的记录可能只剩最后几个字。现在只在
切口正好落在一个拉丁词里的时候,才裁掉那半截词,而且最多裁 20 个字符——中文在两个汉字之间
切开本来就是边界,一个字都不会丢。中文和中英混排的用例都补上了。
协议标记原来只认写死的那么几个,现在认的是任意一个 minimax-bot- 开头的标签:带空格、带属性、
大小写不同,或者用了一个长得像短横的字符,都会被去掉。去掉的时候只动标签本身,前后的文字留着,
中文的标点也不会被改写——这里没有对全文做 NFKC,因为那会把中文的逗号变成半角,改成只折叠那些
可能冒充短横和 ASCII 字母的字符,一个字符对一个字符,位置才对得上。
面板提示里原来写死了 6 条 / 1200 字,现在这两个数由服务端随状态一起下发,面板照着写,限额变了
提示也跟着变。
测过什么:上游
npm run check的两半都在本地跑了(scripts/validate.mjs对本插件报minimax-bot: OK 和 repository: OK,根目录 69/69 条测试);插件自带套件 262 过、0 挂,比上一版多
5 条,中文条目、中英混排、标记的几种写法、中文不被改写、面板照着服务端的数写,各一条。纪要关着
的时候,群常驻简报和私聊常驻简报(各中英文)以及 MCP 目录、list_team 的输出,都与合并 #80 后的
上游 main 逐字节相同。版本 0.7.11 → 0.7.12。
Need help on this PR? Tag
@codesmith-botwith what you need.