OpenAI-compatible provider (Kind::Custom, [openai_compat] config)

This commit is contained in:
hermes committed 2026-10-07 08:17:43 +00:00
1 parent 63baad33a8
commit b00e5b503f
6 files changed
+617 -10

No files matched your search

+3 -1
View File
@@ -236,7 +236,9 @@ mod tests {
}
}
let l = lines(&v, None, 0, 60);
assert!(text(&l[0]).starts_with(" ⠋ 1 explore ") && text(&l[0]).ends_with(" 1m12s 8c 41k"));
assert!(
text(&l[0]).starts_with(" ⠋ 1 explore ") && text(&l[0]).ends_with(" 1m12s 8c 41k")
);
assert!(text(&l[1]).starts_with(" ✓ 2 explore "), "{}", text(&l[1]));
assert!(text(&l[0]).contains('…'));
}