mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
fix: align Langfuse message output collection type
This commit is contained in:
parent
dbd7641997
commit
43724dc020
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class LangfuseOtelLogger(OpenTelemetry):
|
|||
|
||||
output: Final = response_obj.get("output", [])
|
||||
if output:
|
||||
output_items_data: Final[list[dict]] = []
|
||||
output_items_data: Final[list[Mapping[str, object]]] = []
|
||||
for item in output:
|
||||
if hasattr(item, "type"):
|
||||
item_type = item.type
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue