Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions backend/app/agent/agent_director/llm_agent_director.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,10 @@ async def execute(self, user_input: AgentInput) -> AgentOutput:
transitioned_to_new_phase = True
user_input = AgentInput(message="", is_artificial=True)
elif transitioned_to_new_phase:
if get_application_config().inline_phase_transition:
# Inline transition: skip the (silence) loop re-invocation.
# The next user message will be routed deterministically via sub-phase.
transitioned_to_new_phase = False
else:
user_input = AgentInput(
message="(silence)",
is_artificial=True
)
user_input = AgentInput(
message="(silence)",
is_artificial=True
)

# Clear agent_type after all operations and logging for this iteration
# This ensures observability logs capture the agent type throughout execution
Expand Down
Loading