MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_condense_user_message

Function test_condense_user_message

atomic-agent/src/transcript/tests.rs:82–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81#[test]
82fn test_condense_user_message() {
83 let jsonl = br#"{"type":"user","uuid":"1","message":{"content":"Fix the bug"}}"#;
84 let entries = condense_claude_transcript(jsonl);
85 assert_eq!(entries.len(), 1);
86 assert!(entries[0].is_user());
87 assert_eq!(entries[0].content.as_deref(), Some("Fix the bug"));
88}
89
90#[test]
91fn test_condense_assistant_text() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected