MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _reading_task_payload

Function _reading_task_payload

deployments/desktop/shared/agents.py:2667–2670  ·  view source on GitHub ↗
(task: Optional[Dict[str, Any]])

Source from the content-addressed store, hash-verified

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
2671def _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."

Callers 2

get_reading_reports_taskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected