Fix init to accept kwargs

This commit is contained in:
Connor Shorten
2025-11-26 19:31:27 -05:00
parent 65f6880c6f
commit d531f5e9a1

View File

@@ -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}"