(task: Optional[Dict[str, Any]])
| 2665 | lines.append(f"- {text}") |
| 2666 | if error: |
| 2667 | lines.extend(["", "## 错误" if not is_en else "## Error", "", f"```text\n{error.strip()}\n```"]) |
| 2668 | report_path.write_text("\n".join(lines).rstrip() + "\n", encoding="utf-8") |
| 2669 | |
| 2670 | |
| 2671 | def _reading_language_notice(response_language: str) -> str: |
| 2672 | if _normalize_response_language(response_language) == "en": |
| 2673 | return "The GUI language is set to English; this reading report will be written in English." |
no outgoing calls
no test coverage detected