Remove list_files tool
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
from modaic import PrecompiledProgram, PrecompiledConfig
|
from modaic import PrecompiledProgram, PrecompiledConfig
|
||||||
import dspy
|
import dspy
|
||||||
|
import weave
|
||||||
import subprocess
|
import subprocess
|
||||||
from dspy.utils.callback import BaseCallback
|
from dspy.utils.callback import BaseCallback
|
||||||
|
|
||||||
@@ -260,8 +261,6 @@ class RLMCodingProgram(PrecompiledProgram):
|
|||||||
super().__init__(config, **kwargs)
|
super().__init__(config, **kwargs)
|
||||||
|
|
||||||
if config.track_trace:
|
if config.track_trace:
|
||||||
import weave
|
|
||||||
|
|
||||||
project = kwargs.get("project", os.getenv("WANDB_PROJECT"))
|
project = kwargs.get("project", os.getenv("WANDB_PROJECT"))
|
||||||
if project is None:
|
if project is None:
|
||||||
raise ValueError("project is required when track_trace is True")
|
raise ValueError("project is required when track_trace is True")
|
||||||
@@ -430,7 +429,7 @@ class RLMCodingProgram(PrecompiledProgram):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
agent = RLMCodingProgram(RLMCodingConfig())
|
agent = RLMCodingProgram(RLMCodingConfig())
|
||||||
|
|
||||||
#agent(task="what's 1 + 1?")
|
# agent(task="what's 1 + 1?")
|
||||||
|
|
||||||
branches = ["dev"]
|
branches = ["dev"]
|
||||||
for branch in branches:
|
for branch in branches:
|
||||||
|
|||||||
Reference in New Issue
Block a user