← Về thư mục
- ScriptedProviderError · class · L11-L30 — class ScriptedProviderError(RuntimeError): # A plain exception subclass (not a dataclass): BaseException.args stays # populated for logging/pickle, and identity equality/hash are preserved.
- init · method · L14-L27 — def init( self, kind: str, message: str, status: int | None = None, headers: Mapping[str, str] | None = None, retryable: bool = False, ) -> None
- str · method · L29-L30 — def str(self) -> str
- ScriptedLLM · class · L33-L83 — class ScriptedLLM
- init · method · L36-L40 — def init(self, steps: Iterable[ProviderStep])
- remaining · method · L43-L44 — def remaining(self) -> int
- call · method · L46-L83 — def call( self, messages: Sequence[Mapping[str, Any]], _cfg: Any = None, **_kwargs: Any, ) -> dict[str, Any]