MCPcopy Create free account
hub / github.com/idank/explainshell / LLMProvider

Class LLMProvider

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

Single-file call interface.

Source from the content-addressed store, hash-verified

23
24
25class LLMProvider(Protocol):
26 """Single-file call interface."""
27
28 @property
29 def retryable_exceptions(self) -> tuple[type[Exception], ...]: ...
30
31 def call(self, user_content: str) -> tuple[str, TokenUsage]: ...
32
33
34class BatchResults(NamedTuple):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected