From c47ea4f3b3697f2ec4d304f680f2a6d6383a9768 Mon Sep 17 00:00:00 2001 From: Ty Todd Date: Mon, 6 Oct 2025 21:57:28 -0700 Subject: [PATCH] (no commit message) --- agent/agent.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/agent/agent.py b/agent/agent.py index 745db28..5815dd6 100644 --- a/agent/agent.py +++ b/agent/agent.py @@ -108,9 +108,13 @@ class PersanaSearcher(PrecompiledAgent): # You can optionally take in other variables specific to the environment # It is recommended to track any performance-altering variables (model, temperature, etc.) in the config, not the constructor def __init__( - self, config: PersanaConfig, api_key: Optional[str] = None, train: bool = False + self, + config: PersanaConfig, + api_key: Optional[str] = None, + train: bool = False, + **kwargs, ): - super().__init__(config) + super().__init__(config, **kwargs) self.client = PersanaClient(api_key=api_key) self.search_creator = dspy.Predict(ICPTOSearchSignature) self.search_creator.set_lm(dspy.LM(config.model))