fix(onboard): refresh MiniMax defaults and endpoint (#299)

This commit is contained in:
Chummy 2026-02-16 23:40:44 +08:00 committed by GitHub
parent 3fd901a5ec
commit 8882746ced
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 168 additions and 7 deletions

View file

@ -919,8 +919,7 @@ mod tests {
#[test]
fn telegram_split_at_newline() {
let line = "Line of text\n";
let text_block = line.repeat(TELEGRAM_MAX_MESSAGE_LENGTH / line.len() + 1);
let text_block = "Line of text\n".repeat(TELEGRAM_MAX_MESSAGE_LENGTH / 13 + 1);
let chunks = split_message_for_telegram(&text_block);
assert!(chunks.len() >= 2);
for chunk in chunks {