Update AcceptedProviders enum to CredentialType

enum
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-24 12:45:16 -03:00
commit 2cc2fa3500

View file

@ -1,8 +1,8 @@
from enum import Enum from enum import Enum
class AcceptedProviders(str, Enum): class CredentialType(str, Enum):
"""Accepted providers for credentials.""" """CredentialType is an Enum of the accepted providers"""
openai = "openai" OPENAI_API_KEY = "OPENAI_API_KEY"
anthropic = "anthropic" ANTHROPIC_API_KEY = "ANTHROPIC_API_KEY"