Spaces:
Sleeping
Sleeping
Deploy FlakyGym UI + inference updates (minimal upload)
Browse files430 unmodified lines43143243343443543637 unmodified lines47447547647747847946 unmodified lines526527528529530531430 unmodified linesaction: FlakySleuthActionaction_source = "heuristic"llm_meta: dict[str, Any] = {"attempted": False, "raw_output": "", "error": ""}try:candidate, llm_meta = llm_action(messages)if candidate is not None:37 unmodified linesreason_key = "empty_or_invalid_response"else:reason_key = "heuristic_default"fallback_reasons[reason_key] = fallback_reasons.get(reason_key, 0) + 1if trace_agent and not compliance_stdout:46 unmodified linesstep_error = str(raw_err)if not step_error and obs.tool_output and str(obs.tool_output).startswith("ERROR:"):step_error = str(obs.tool_output)if compliance_stdout:_compliance_log_step(430 unmodified lines43143243343443543643737 unmodified lines47547647747847948048146 unmodified lines528529530531532533534535536537538430 unmodified linesaction: FlakySleuthActionaction_source = "heuristic"llm_meta: dict[str, Any] = {"attempted": False, "raw_output": "", "error": ""}step_fallback_reason: str | None = Nonetry:candidate, llm_meta = llm_action(messages)if candidate is not None:37 unmodified linesreason_key = "empty_or_invalid_response"else:reason_key = "heuristic_default"step_fallback_reason = reason_keyfallback_reasons[reason_key] = fallback_reasons.get(reason_key, 0) + 1if trace_agent and not compliance_stdout:46 unmodified linesstep_error = str(raw_err)if not step_error and obs.tool_output and str(obs.tool_output).startswith("ERROR:"):step_error = str(obs.tool_output)if step_fallback_reason:if step_error:step_error = f"{step_error}; llm_fallback:{step_fallback_reason}"else:step_error = f"llm_fallback:{step_fallback_reason}"if compliance_stdout:_compliance_log_step(
inference.py+7