zeta_cli: Add --output-format both and --prompt-format only-snippets (#38920)

These are options are probably temporary, added for use in some
experimental code

Release Notes:

- N/A

Co-authored-by: Oleksiy <oleksiy@zed.dev>
This commit is contained in:
Michael Sloan
2025-09-25 22:49:36 +00:00
committed by GitHub
co-authored by Oleksiy
parent 67984d5e49
commit a5683f3541
3 changed files with 55 additions and 25 deletions
@@ -48,6 +48,8 @@ pub enum PromptFormat {
#[default]
MarkedExcerpt,
LabeledSections,
/// Prompt format intended for use via zeta_cli
OnlySnippets,
}
impl PromptFormat {
@@ -61,6 +63,7 @@ impl std::fmt::Display for PromptFormat {
match self {
PromptFormat::MarkedExcerpt => write!(f, "Marked Excerpt"),
PromptFormat::LabeledSections => write!(f, "Labeled Sections"),
PromptFormat::OnlySnippets => write!(f, "Only Snippets"),
}
}
}