diff --git a/application/llm/providers/openai_compatible.py b/application/llm/providers/openai_compatible.py index 66bf0b16..92f0b99a 100644 --- a/application/llm/providers/openai_compatible.py +++ b/application/llm/providers/openai_compatible.py @@ -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( diff --git a/application/storage/db/repositories/agents.py b/application/storage/db/repositories/agents.py index 8fa63ccf..3e27bb83 100644 --- a/application/storage/db/repositories/agents.py +++ b/application/storage/db/repositories/agents.py @@ -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)