mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
add turn id to agent span attrs
This commit is contained in:
parent
5d0c502cdb
commit
32af1f9dd4
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ class ChatAgent(ShieldRunnerMixin):
|
|||
messages.extend(request.messages)
|
||||
|
||||
turn_id = str(uuid.uuid4())
|
||||
span.set_attribute("turn_id", turn_id)
|
||||
start_time = datetime.now()
|
||||
yield AgentTurnResponseStreamChunk(
|
||||
event=AgentTurnResponseEvent(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue