Skip to content

Commit dd89d6a

Browse files
committed
fix(host): use logger instead of print in docstrings (#7244)
1 parent b993d88 commit dd89d6a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/framework/host/agent_host.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class AgentHost:
116116
117117
# Check goal progress
118118
progress = await runtime.get_goal_progress()
119-
print(f"Progress: {progress['overall_progress']:.1%}")
119+
logger.info(f"Progress: {progress['overall_progress']:.1%}")
120120
121121
# Stop runtime
122122
await runtime.stop()

core/framework/host/event_bus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class EventBus:
239239
240240
# Subscribe to execution events
241241
async def on_execution_complete(event: AgentEvent):
242-
print(f"Execution {event.execution_id} completed")
242+
logger.info(f"Execution {event.execution_id} completed")
243243
244244
bus.subscribe(
245245
event_types=[EventType.EXECUTION_COMPLETED],

0 commit comments

Comments
 (0)