Small zeta cli fixes (#42170)

* Fix a panic that happened because we lost the
`ContextRetrievalStarted` debug message, so we didn't assign `t0`.
* Write the edit prediction response log file as a markdown file
containing the text, not a JSON file. We mostly always want the text
content.

Release Notes:

- N/A
This commit is contained in:
Max Brunsfeld
2025-11-07 07:34:05 +00:00
committed by GitHub
parent e43c436cb6
commit f89bb2f0d2
3 changed files with 57 additions and 49 deletions
+1 -4
View File
@@ -166,9 +166,7 @@ impl NamedExample {
REVISION_FIELD => {
named.example.revision = value.trim().to_string();
}
_ => {
eprintln!("Warning: Unrecognized field `{field}`");
}
_ => {}
}
}
}
@@ -193,7 +191,6 @@ impl NamedExample {
} else if title.eq_ignore_ascii_case(EXPECTED_CONTEXT_HEADING) {
Section::ExpectedExcerpts
} else {
eprintln!("Warning: Unrecognized section `{title:?}`");
Section::Other
};
}