From d531f5e9a1b6fd95d1339ae7a5f0815679f0a654 Mon Sep 17 00:00:00 2001 From: Connor Shorten Date: Wed, 26 Nov 2025 19:31:27 -0500 Subject: [PATCH] Fix init to accept kwargs --- hello.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello.py b/hello.py index 5ee229b..a59f1c7 100644 --- a/hello.py +++ b/hello.py @@ -9,8 +9,8 @@ class EchoConfig(PrecompiledConfig): class EchoAgent(PrecompiledAgent): config: EchoConfig - def __init__(self, config: EchoConfig, **kwargs): # <-- Add **kwargs - super().__init__(config, **kwargs) # <-- Pass them through + def __init__(self, config: EchoConfig, **kwargs): + super().__init__(config, **kwargs) def forward(self, text: str) -> str: return f"Echo: {text}"