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 authors = ", ".join(must_read.get("authors", [])) or "(空)"
848 institutions = ", ".join(must_read.get("institutions", [])) or "(空)"
849 keywords = ", ".join(must_read.get("keywords", [])) or "(空)"
850 return f"当前配置:作者 {authors} | 机构 {institutions} | 关键词 {keywords}"
851
852
853def format_must_read_reason(paper: Dict, profile: Dict) -> str:
854 """Explain why a paper matched the must-read list."""
855 matches = get_must_read_matches(paper, profile or {})
856 parts = []
857 if matches.get("authors"):
858 parts.append(f"作者:{', '.join(matches['authors'])}")

Callers 1

format_push_cardFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected