forked from phoenix/litellm-mirror
Merge pull request #5548 from BerriAI/litellm_fix_otel_type_hints
[Fix] OTEL - Unsupported | type annotations in python3.9
This commit is contained in:
commit
4626c5a365
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ LITELLM_REQUEST_SPAN_NAME = "litellm_request"
|
|||
class OpenTelemetryConfig:
|
||||
from opentelemetry.sdk.trace.export import SpanExporter
|
||||
|
||||
exporter: str | SpanExporter = "console"
|
||||
exporter: Union[str, SpanExporter] = "console"
|
||||
endpoint: Optional[str] = None
|
||||
headers: Optional[str] = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue