Add reload_lms method and debug forward()
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user