feat: add debug

This commit is contained in:
0xMRTT 2023-06-17 15:39:56 +02:00
parent 17ba896b24
commit 4a1ba4d3a8
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -63,6 +63,8 @@ pub async fn ask(prompt: &str) -> Result<Vec<Delta>, Box<dyn std::error::Error>>
if line == "" { if line == "" {
continue; continue;
} }
println!("{}", line);
println!("------------------");
let delta: Delta = serde_json::from_str(&line).unwrap(); let delta: Delta = serde_json::from_str(&line).unwrap();
deltas.push(delta); deltas.push(delta);
} }