Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files2735 unmodified lines27362737273827392740274127422743274427452735 unmodified lineslast_step = getattr(getattr(run_agent, "memory", None), "steps", None)if last_step:for st in reversed(last_step):obs_txt = getattr(st, "action_output", None) or getattr(st, "observations", None)if obs_txt:fallback_clean = self._clean_exact_match_answer(str(obs_txt))if fallback_clean and not fallback_clean.startswith("AGENT ERROR:"):return fallback_cleanblocked_models.add(model_name)break2735 unmodified lines2736273727382739274027412742274327442745274627472748274927502735 unmodified lineslast_step = getattr(getattr(run_agent, "memory", None), "steps", None)if last_step:for st in reversed(last_step):obs_txt = getattr(st, "action_output", None)if obs_txt is not None and str(obs_txt).strip():fallback_clean = self._clean_exact_match_answer(str(obs_txt))if (fallback_cleanand not fallback_clean.startswith("AGENT ERROR:")and len(fallback_clean) <= 200and "\n" not in fallback_clean):return fallback_cleanblocked_models.add(model_name)break
app.py+8-3