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

Class BatchEntry

explainshell/extraction/llm/providers/__init__.py:42–51  ·  view source on GitHub ↗

A single entry in a batch.

Source from the content-addressed store, hash-verified

40
41
42class BatchEntry(NamedTuple):
43 """A single entry in a batch."""
44
45 key: str
46 """Unique identifier to correlate this request with its response
47 (e.g. ``"3:1"`` for work-item 3, chunk 1). Mapped to the
48 provider's ``custom_id`` / ``metadata`` field."""
49
50 user_content: str
51 """The user-role prompt text sent to the LLM."""
52
53
54class BatchProvider(Protocol):

Callers 1

_process_one_batchFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected