fix: mini docstring stuff

This commit is contained in:
Alex
2026-04-26 00:56:31 +01:00
parent d54e6d8b34
commit ddd5704c49
2 changed files with 7 additions and 4 deletions

View File

@@ -65,8 +65,12 @@ class OpenAICompatibleProvider(Provider):
def _materialize_yaml_catalog(self, catalog) -> List[AvailableModel]:
"""Resolve one openai_compatible YAML into ready-to-dispatch models.
Skipped (with a warning) if ``api_key_env`` resolves to nothing —
no point publishing models the user can't actually call.
Skipped (with an INFO-level log) if ``api_key_env`` resolves to
nothing — no point publishing models the user can't actually
call. INFO rather than WARNING because operators may legitimately
drop multiple provider YAMLs as templates and only set the env
vars for the ones they actually use; a missing key is ambiguous,
not necessarily a misconfig.
"""
if not catalog.base_url:
raise ValueError(

View File

@@ -1,7 +1,6 @@
"""Repository for the ``agents`` table.
Covers every write operation
the legacy Mongo code performs on ``agents_collection``:
Covers every write operation the legacy Mongo code performs on ``agents_collection``:
- create, update, delete
- find by key (API key lookup)