chore: speed up api service startup time by defering the imports for trace services (#19504)
This commit is contained in:
parent
085bd1aa93
commit
0b22e8b544
2 changed files with 52 additions and 38 deletions
|
|
@ -1,9 +1,9 @@
|
|||
from enum import Enum
|
||||
from enum import StrEnum
|
||||
|
||||
from pydantic import BaseModel, ValidationInfo, field_validator
|
||||
|
||||
|
||||
class TracingProviderEnum(Enum):
|
||||
class TracingProviderEnum(StrEnum):
|
||||
LANGFUSE = "langfuse"
|
||||
LANGSMITH = "langsmith"
|
||||
OPIK = "opik"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue