feat: add support for claude-3-5-sonnet-20240620 (#5452)

This commit is contained in:
takatost
2024-06-21 00:23:15 +08:00
committed by GitHub
parent b04715d48c
commit ff0f02d809
3 changed files with 43 additions and 2 deletions

View File

@@ -206,8 +206,8 @@ class ProviderConfiguration(BaseModel):
credentials[key] = encrypter.decrypt_token(self.tenant_id, original_credentials[key])
credentials = model_provider_factory.provider_credentials_validate(
self.provider.provider,
credentials
provider=self.provider.provider,
credentials=credentials
)
for key, value in credentials.items():