MCPcopy Index your code
hub / github.com/idank/explainshell / _make_prepared

Function _make_prepared

tests/extraction/llm/test_extractor.py:191–201  ·  view source on GitHub ↗
(n_chunks: int = 2)

Source from the content-addressed store, hash-verified

189
190
191def _make_prepared(n_chunks: int = 2) -> PreparedFile:
192 return PreparedFile(
193 synopsis="test tool",
194 aliases=[("dummy", 10)],
195 original_lines=_ORIGINAL_LINES,
196 basename="dummy",
197 numbered_text=" 1| **-a**\n 2| ...",
198 plain_text_len=len(_PLAIN_TEXT),
199 plain_text=_PLAIN_TEXT,
200 requests=["chunk0 content", "chunk1 content"][:n_chunks],
201 )
202
203
204_CHUNK0_JSON = (

Calls 1

PreparedFileClass · 0.90

Tested by

no test coverage detected