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

Function test_condense_assistant_text

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

Source from the content-addressed store, hash-verified

89
90#[test]
91fn test_condense_assistant_text() {
92 let jsonl = br#"{"type":"assistant","uuid":"2","message":{"content":[{"type":"text","text":"I'll fix it"}]}}"#;
93 let entries = condense_claude_transcript(jsonl);
94 assert_eq!(entries.len(), 1);
95 assert!(entries[0].is_assistant());
96 assert_eq!(entries[0].content.as_deref(), Some("I'll fix it"));
97}
98
99#[test]
100fn test_condense_tool_use() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected