()
| 1075 | |
| 1076 | #[test] |
| 1077 | fn test_unicode_prompt_summary() { |
| 1078 | let prompt = "修复认证模块中的缺陷 🐛"; |
| 1079 | let e = SessionEnvelope::builder("s", "a") |
| 1080 | .prompt_summary(prompt) |
| 1081 | .build(); |
| 1082 | let bytes = e.encode().unwrap(); |
| 1083 | let decoded = SessionEnvelope::decode(&bytes).unwrap(); |
| 1084 | assert_eq!(decoded.prompt_summary.as_deref(), Some(prompt)); |
| 1085 | } |
| 1086 | |
| 1087 | #[test] |
| 1088 | fn test_max_turn_number() { |
nothing calls this directly
no test coverage detected