MCPcopy Create free account
hub / github.com/chubin/cheat.sh / postprocess

Function postprocess

lib/postprocessing.py:5–10  ·  view source on GitHub ↗
(answer, keyword, options, request_options=None)

Source from the content-addressed store, hash-verified

3
4
5def postprocess(answer, keyword, options, request_options=None):
6 answer = _answer_add_comments(answer, request_options=request_options)
7 answer = _answer_filter_by_keyword(
8 answer, keyword, options, request_options=request_options
9 )
10 return answer
11
12
13def _answer_add_comments(answer, request_options=None):

Callers

nothing calls this directly

Calls 2

_answer_add_commentsFunction · 0.85

Tested by

no test coverage detected