feat: improve agent workflow observability
This commit is contained in:
@@ -582,6 +582,9 @@ class AgentService:
|
||||
'type': 'complete',
|
||||
'elapsed_time': elapsed_time,
|
||||
'tokens_used': total_tokens,
|
||||
'total_tokens': total_tokens,
|
||||
'conversation_id': str(conversation.id),
|
||||
'message_id': str(assistant_msg.id),
|
||||
}
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user