This PR adds multiple features that make it easier to build new tools on top of TurnkeyML's framework.
Major improvements:
The functionality of the turnkey CLI that parses tool sequences is now a function cli.parse_tools() that can be used to define new command line interfaces, such as turnkey-llm.
Introduces a helper function, status.add_to_state() that adds a ModelInfo and UniqueInvocationInfo to State. This makes it much simpler to define new FirstTool classes.
Allow Tools to disable the build.Logger, which makes it possible to define interactive Tools such as an LLM server.
This PR adds multiple features that make it easier to build new tools on top of TurnkeyML's framework.
Major improvements:
turnkey
CLI that parses tool sequences is now a functioncli.parse_tools()
that can be used to define new command line interfaces, such asturnkey-llm
.status.add_to_state()
that adds aModelInfo
andUniqueInvocationInfo
toState
. This makes it much simpler to define newFirstTool
classes.Tools
to disable thebuild.Logger
, which makes it possible to define interactiveTools
such as an LLM server.