Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Bootstrap provider with auth none #814

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/codegate/providers/crud/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ async def try_initialize_provider_endpoints(
):
try:
models = pimpl.models()

# If we were able to get the models, we don't need auth
provend.auth_type = apimodelsv1.ProviderAuthType.none
except Exception as err:
logger.debug(
"Unable to get models from provider",
Expand Down