edit prediction: Do not attempt to gather context for non-zeta2 models (#43943)
We were running the LLM-based context gathering for zeta1 and sweep which don't use it. Release Notes: - N/A
This commit is contained in:
@@ -2063,6 +2063,10 @@ impl Zeta {
|
||||
cursor_position: language::Anchor,
|
||||
cx: &mut Context<Self>,
|
||||
) {
|
||||
if !matches!(self.edit_prediction_model, ZetaEditPredictionModel::Zeta2) {
|
||||
return;
|
||||
}
|
||||
|
||||
if !matches!(&self.options().context, ContextMode::Agentic { .. }) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user