add current credential id to model crendtial get api

This commit is contained in:
hjlarry
2025-08-19 16:00:18 +08:00
parent 592b2f59d5
commit 4caf52de8c
4 changed files with 36 additions and 11 deletions

View File

@ -758,6 +758,7 @@ class ProviderManager:
model_type=ModelType.value_of(provider_model_record.model_type),
credentials=provider_model_credentials,
current_credential_id=provider_model_record.credential_id,
current_credential_name=provider_model_record.credential_name,
available_model_credentials=available_model_credentials,
)
)