Remove list_files tool

This commit is contained in:
2026-02-01 01:26:07 -08:00
parent 2e4a79e925
commit 7016105521

View File

@@ -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: