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:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user