Update AcceptedProviders enum to CredentialType
enum
This commit is contained in:
parent
53a1aa57bc
commit
2cc2fa3500
1 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
|||
from enum import Enum
|
||||
|
||||
|
||||
class AcceptedProviders(str, Enum):
|
||||
"""Accepted providers for credentials."""
|
||||
class CredentialType(str, Enum):
|
||||
"""CredentialType is an Enum of the accepted providers"""
|
||||
|
||||
openai = "openai"
|
||||
anthropic = "anthropic"
|
||||
OPENAI_API_KEY = "OPENAI_API_KEY"
|
||||
ANTHROPIC_API_KEY = "ANTHROPIC_API_KEY"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue