read_manifest#

Let a model keep its own tools and notes in a repository on disk. See the guide.

zett_agent.jit_harness.manifest.read_manifest(directory)[源代码]#

Read and check MANIFEST in directory.

The directory is resolved first, so "." names the directory it stands for rather than the empty string.

抛出:

ValueError -- The file is missing, unreadable, too large, not TOML, or does not name a repository the way this module requires.

参数:

directory (Path)

返回类型:

Manifest