(no commit message)

This commit is contained in:
2026-03-29 22:04:49 -07:00
parent 88293ed735
commit 5580928941
19 changed files with 110 additions and 2 deletions

13
program/compile.py Normal file
View File

@@ -0,0 +1,13 @@
import sys
from .config import AgentWRetreiverConfig
from .program import AgentWRetreiver
from .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"
agent.push_to_hub(repo_path, with_code=True)