mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 13:18:10 +00:00
adjusted name to flow:conversation_turn
This commit is contained in:
@@ -322,7 +322,7 @@ class EventListener(BaseEventListener):
|
||||
def on_conversation_turn_started(
|
||||
_: Any, event: ConversationTurnStartedEvent
|
||||
) -> None:
|
||||
self._telemetry.feature_usage_span("flow:conversation")
|
||||
self._telemetry.feature_usage_span("flow:conversation_turn")
|
||||
|
||||
@crewai_event_bus.on(MethodExecutionStartedEvent)
|
||||
def on_method_execution_started(
|
||||
|
||||
@@ -1184,7 +1184,7 @@ class TestConversationalFlow:
|
||||
)
|
||||
crewai_event_bus.flush()
|
||||
|
||||
feature_usage_span.assert_any_call("flow:conversation")
|
||||
feature_usage_span.assert_any_call("flow:conversation_turn")
|
||||
|
||||
def test_route_event_uses_no_message_index_for_empty_transcript(self) -> None:
|
||||
"""Route events do not reference index zero when no message exists."""
|
||||
|
||||
Reference in New Issue
Block a user