mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix(otel): avoid mutable field-set construction
This commit is contained in:
parent
3b2635674c
commit
6a1563de12
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ class OpenTelemetryV2Config(BaseSettings):
|
|||
endpoint=self.endpoint,
|
||||
headers=self.headers,
|
||||
)
|
||||
if self.model_fields_set & {"exporter", "endpoint", "headers"}
|
||||
if not self.model_fields_set.isdisjoint(("exporter", "endpoint", "headers"))
|
||||
else ExporterSpec()
|
||||
]
|
||||
# Ensure ``genai`` is always present and first.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue