mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 04:26:30 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
5696d5c9ba
commit
fce114f6ae
@ -555,7 +555,7 @@ class ProviderConfiguration(BaseModel):
|
|||||||
if provider_record and available_credentials_count <= 1:
|
if provider_record and available_credentials_count <= 1:
|
||||||
# If all credentials are deleted, delete the provider record
|
# If all credentials are deleted, delete the provider record
|
||||||
session.delete(provider_record)
|
session.delete(provider_record)
|
||||||
|
|
||||||
provider_model_credentials_cache = ProviderCredentialsCache(
|
provider_model_credentials_cache = ProviderCredentialsCache(
|
||||||
tenant_id=self.tenant_id,
|
tenant_id=self.tenant_id,
|
||||||
identity_id=provider_record.id,
|
identity_id=provider_record.id,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user