feat: add debug
This commit is contained in:
parent
17ba896b24
commit
4a1ba4d3a8
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user