From 7016105521961cf3d9148f1caf56c8bd7229739e Mon Sep 17 00:00:00 2001 From: Farouk Adeleke Date: Sun, 1 Feb 2026 01:26:07 -0800 Subject: [PATCH] Remove list_files tool --- nanocode.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nanocode.py b/nanocode.py index ebdcec7..e941996 100644 --- a/nanocode.py +++ b/nanocode.py @@ -1,6 +1,7 @@ import os from modaic import PrecompiledProgram, PrecompiledConfig import dspy +import weave import subprocess from dspy.utils.callback import BaseCallback @@ -260,8 +261,6 @@ class RLMCodingProgram(PrecompiledProgram): super().__init__(config, **kwargs) if config.track_trace: - import weave - project = kwargs.get("project", os.getenv("WANDB_PROJECT")) if project is None: raise ValueError("project is required when track_trace is True") @@ -430,7 +429,7 @@ class RLMCodingProgram(PrecompiledProgram): if __name__ == "__main__": agent = RLMCodingProgram(RLMCodingConfig()) - #agent(task="what's 1 + 1?") + # agent(task="what's 1 + 1?") branches = ["dev"] for branch in branches: