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

Function format_must_read_config

deployments/feishu/daily-push-agent/main.py:849–855  ·  view source on GitHub ↗

Format current must-read configuration for push cards.

(profile: Dict)

Source from the content-addressed store, hash-verified

847
848
849def format_must_read_config(profile: Dict) -> str:
850 """Format current must-read configuration for push cards."""
851 must_read = (profile or {}).get("must_read", {})
852 authors = ", ".join(must_read.get("authors", [])) or "(空)"
853 institutions = ", ".join(must_read.get("institutions", [])) or "(空)"
854 keywords = ", ".join(must_read.get("keywords", [])) or "(空)"
855 return f"当前配置:作者 {authors} | 机构 {institutions} | 关键词 {keywords}"
856
857
858def format_must_read_reason(paper: Dict, profile: Dict) -> str:

Callers 1

format_push_cardFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected