(no commit message)

This commit is contained in:
2026-04-19 20:51:52 -07:00
parent 8f5e7c7d2f
commit 2eeb959a7f
19 changed files with 112 additions and 1 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)