From f5c305a0b521514e87a91acc1013a8aa00747641 Mon Sep 17 00:00:00 2001 From: Alhibb <63309522+Alhibb@users.noreply.github.com> Date: Mon, 27 Oct 2025 10:19:48 +0100 Subject: [PATCH] Resolve logger.info formatting error in SolanaPerformanceTracker for getTPS tool --- agentipy/tools/get_tps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agentipy/tools/get_tps.py b/agentipy/tools/get_tps.py index 67aa0b6..9825cd5 100644 --- a/agentipy/tools/get_tps.py +++ b/agentipy/tools/get_tps.py @@ -108,7 +108,8 @@ async def fetch_current_tps(agent: SolanaAgentKit) -> float: response = await agent.connection.get_recent_performance_samples(1) performance_samples = response.value - logger.info("Performance Samples:", performance_samples) + # logger.info("Performance Samples:", performance_samples) + logger.info(f"Performance Samples: {performance_samples}") if not performance_samples: raise ValueError("No performance samples available.")