(no commit message)

This commit is contained in:
2026-02-22 12:42:46 -08:00
parent 69ac91f1ed
commit 2fe846d3ce
24 changed files with 109 additions and 2 deletions

13
compile.py Normal file
View File

@@ -0,0 +1,13 @@
import sys
from program.config import AgentWRetreiverConfig
from program.program import AgentWRetreiver
from program.retriever import ExampleRetriever
if __name__ == "__main__":
username = sys.argv[1] # ← first arg after script name (username)
config = AgentWRetreiverConfig(num_fetch=1)
retriever = ExampleRetriever(config, needed_param="hi")
agent = AgentWRetreiver(config, retriever=retriever)
repo_path = f"{username}/nested_repo_2"
agent.push_to_hub(repo_path, with_code=True)