From fa1a5847cfcd477c1efebce33e490523813e4bae Mon Sep 17 00:00:00 2001 From: Farouk Adeleke Date: Sat, 24 Jan 2026 00:37:42 -0800 Subject: [PATCH] Add reload_lms method and debug forward() --- nanocode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanocode.py b/nanocode.py index bbd4667..9f79ed6 100644 --- a/nanocode.py +++ b/nanocode.py @@ -230,7 +230,7 @@ class RLMCodingProgram(PrecompiledProgram): if not task: return dspy.Prediction(answer="No Task Given.") - print(f"{YELLOW}DEBUG forward() - agent.get_lm().model: {self.agent.get_lm().model}{RESET}") + print(f"{YELLOW}DEBUG forward() - agent.get_lm(): {self.agent.get_lm()}{RESET}") print(f"{YELLOW}DEBUG forward() - self.lm.model: {self.lm.model}{RESET}") print(f"{YELLOW}DEBUG forward() - agent.sub_lm.model: {self.agent.sub_lm.model}{RESET}") print(f"{YELLOW}DEBUG forward() - self.sub_lm.model: {self.sub_lm.model}{RESET}")