Skip to content

Commit

Permalink
update wrap_common (#63)
Browse files Browse the repository at this point in the history
Signed-off-by: sachintendulkar576123 <[email protected]>
  • Loading branch information
sachintendulkar576123 authored Oct 22, 2024
1 parent bd6b9f2 commit b80a81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monocle_apptrace/wrap_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ async def atask_wrapper(tracer, to_wrap, wrapped, instance, args, kwargs):
else:
name = f"langchain.task.{instance.__class__.__name__}"
with tracer.start_as_current_span(name) as span:
process_span(to_wrap["output_processor"], span, instance, args)
process_span(to_wrap, span, instance, args)
pre_task_processing(to_wrap, instance, args, span)
return_value = await wrapped(*args, **kwargs)
post_task_processing(to_wrap, span, return_value)
Expand Down

0 comments on commit b80a81e

Please sign in to comment.