Registry mapping format pairs to concrete adapters.
Source code in ccproxy/services/adapters/format_registry.py
| def __init__(self) -> None:
self._adapters: dict[tuple[str, str], FormatAdapterProtocol] = {}
self._registered_plugins: dict[tuple[str, str], str] = {}
self._pending_logs: dict[str, list[dict[str, str]]] = {}
self._current_batch_plugin: str | None = None
|