Skip to content

Commit

Permalink
Minor refactor - include app_id & variant_id to (child) span creation…
Browse files Browse the repository at this point in the history
… -> allows easier db querying
  • Loading branch information
aybruhm committed Apr 13, 2024
1 parent 878b547 commit d33c43e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agenta-cli/agenta/sdk/tracing/llm_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ def start_span(
id=span_id,
inputs=input,
name=name,
app_id=self.app_id,
variant_id=self.variant_id,
config=config,
parent_span_id=self.parent_span_id,
spankind=spankind.upper(),
Expand Down

0 comments on commit d33c43e

Please sign in to comment.