ToolOrigin#
Let a model keep its own tools and notes in a repository on disk. See the guide.
- class zett_agent.jit_harness.enums.ToolOrigin(*values)[源代码]#
Which registry served one dispatch attempt.
The value records how the harness resolved the tool name at call time. It stays a plain string in JSON so exported profiles and model-facing results keep the values
"base","python","management", and"unknown".BASEAn application-owned tool: a constructor
tools=[...]entry or one a tool-providing extension registered for the request. The harness keeps no Python source for it. Withmanage_base_tools=Trueit can be unloaded/reloaded and profiled.PYTHONA tool the model defined in its repository with
@tool. An unloaded tool is stillPYTHON; the call status then readsrejected.MANAGEMENTOne of the reserved harness tools:
repo_create,repo_load,repo_unload, orprofile_tools. These belong to the harness rather than the application's toolbox.UNKNOWNThe name was in no registry when the attempt was recorded, usually a defensive fallback for a rejected call. It does not describe another kind of tool.