fix(onboard): refresh MiniMax defaults and endpoint (#299)
This commit is contained in:
parent
3fd901a5ec
commit
8882746ced
6 changed files with 168 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue