HostedRepo
Let a model keep its own tools and notes in a repository on disk. See the guide.
-
class zett_agent.jit_harness.host.HostedRepo(alias, tools, fingerprint, directory, close=None)[源代码]
The tools of one loaded version of a repository, wherever its code runs.
- 参数:
alias (str)
tools (dict[str, AgentTool])
fingerprint (str)
directory (Path)
close (Callable[[], None] | None)
-
close()[源代码]
Release what this version held; the files stay on disk.
- 返回类型:
None