From d94e27f95d585614bee3730e8d668bb3903182df Mon Sep 17 00:00:00 2001 From: nikkie Date: Fri, 15 Aug 2025 00:27:04 +0900 Subject: [PATCH] refactor: Remove fork in run_cli --- src/google/adk/cli/cli.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/google/adk/cli/cli.py b/src/google/adk/cli/cli.py index 70c58d04c3..81ba85a6ec 100644 --- a/src/google/adk/cli/cli.py +++ b/src/google/adk/cli/cli.py @@ -170,10 +170,7 @@ async def run_cli( content = event.content if not content or not content.parts or not content.parts[0].text: continue - if event.author == 'user': - click.echo(f'[user]: {content.parts[0].text}') - else: - click.echo(f'[{event.author}]: {content.parts[0].text}') + click.echo(f'[{event.author}]: {content.parts[0].text}') await run_interactively( root_agent,