mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
refactor(langfuse): pass the resource attributes mapping straight to Resource.create
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
ee18d703c6
commit
66cc42af8a
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ def build_isolated_tracer_provider(
|
|||
}
|
||||
)
|
||||
provider: Final = TracerProvider(
|
||||
resource=Resource.create(dict(attributes)),
|
||||
resource=Resource.create(attributes),
|
||||
sampler=TraceIdHashSampler(sample_rate) if sample_rate < 1 else None,
|
||||
id_generator=_RequestedSpanIdGenerator(),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue