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

Function _cmd_topics

agents/wiki-agent/main.py:86–89  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

84
85
86def _cmd_topics(args: argparse.Namespace) -> int:
87 result = topic_ingest.flush_topics(args.user_id, min_count=args.min_count, limit=args.limit)
88 print(json.dumps(result, ensure_ascii=False, indent=2) if args.json else f"Topics: {result['topics']}; edges: {result['belongs_to_edges']}")
89 return 0
90
91
92def _cmd_ask(args: argparse.Namespace) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected