test(conversation): fix code-preview fixture to actually exceed the char cap
The multibyte-truncation test used 80 chars — below the 100-char cap, so the truncation assertion failed (the previous commit's suite count was misread; the FIX itself was correct and the panic repro held). 120 chars now exercises both the boundary safety and the truncation.
This commit is contained in:
@@ -9632,7 +9632,7 @@ mod tests {
|
||||
fn code_interpreter_summary_truncates_multibyte_code_safely() {
|
||||
let item = BackendToolCallItem {
|
||||
kind: BackendToolKind::CodeInterpreter(rs::CodeInterpreterToolCall {
|
||||
code: Some("统计".repeat(40)),
|
||||
code: Some("统计".repeat(60)),
|
||||
container_id: "cont_1".to_string(),
|
||||
id: "ci_1".to_string(),
|
||||
outputs: None,
|
||||
|
||||
Reference in New Issue
Block a user