Allow running zeta evals against sweep (#43039)

This PR restructures the subcommands in `zeta-cli`, so that the
prediction engine (currently `zeta1` vs `zeta2`) is no longer the
highest order subcommand. Instead, there is just one layer of
subcommands: `eval`, `predict`, `context`, etc. Within these commands,
there are flags for using `zeta1`, `zeta2`, and now `sweep`.

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Agus <agus@zed.dev>
This commit is contained in:
Max Brunsfeld
2025-11-19 16:09:19 -05:00
committed by GitHub
co-authored by Ben Kunkle Agus
parent 68b87fc308
commit 09e02a483a
9 changed files with 516 additions and 447 deletions
+1 -1
View File
@@ -1845,7 +1845,7 @@ impl Workspace {
pub fn recent_navigation_history_iter(
&self,
cx: &App,
) -> impl Iterator<Item = (ProjectPath, Option<PathBuf>)> {
) -> impl Iterator<Item = (ProjectPath, Option<PathBuf>)> + use<> {
let mut abs_paths_opened: HashMap<PathBuf, HashSet<ProjectPath>> = HashMap::default();
let mut history: HashMap<ProjectPath, (Option<PathBuf>, usize)> = HashMap::default();