Add tool logs

This commit is contained in:
2026-01-22 03:26:50 -08:00
parent 901aa2ede9
commit 8f37131ab8

View File

@@ -298,9 +298,6 @@ class RLMCodingProgram(PrecompiledProgram):
agent.set_lm(self.lm)
self.agent = agent
print(f"Using model: {self.agent.get_lm().model}")
print(f"Using sub-model: {self.agent.sub_lm.model}")
def forward(self, task: str) -> str:
assert task, "Task cannot be empty"
return self.agent(task=task)
@@ -569,5 +566,5 @@ def main():
if __name__ == "__main__":
agent = RLMCodingProgram(RLMCodingConfig())
agent.push_to_hub(MODAIC_REPO_PATH, commit_message="debug", branch="prod")
agent.push_to_hub(MODAIC_REPO_PATH, commit_message="Add tool logs", branch="prod")
#main()