Documentation
¶
Overview ¶
Package toolsearch is the `tool_search` tool, a copy of the coding agent's: the model searches the deferred tools it is not offered yet, and the matches are loaded with the addTools control, so the next request offers them. Loading writes the conversation's modelTools (its add), so loaded tools stay offered on that branch, also after a compaction.
Index ¶
Constants ¶
View Source
const DefaultLimit = 8
DefaultLimit is the number of tools tool_search loads at most when the model gives no limit.
View Source
const ToolName = "tool_search"
ToolName is the name of the tool_search tool.
Variables ¶
This section is empty.
Functions ¶
func CreateExtension ¶
CreateExtension creates the tool_search extension: install it and select it where the model should find deferred tools.
func CreateTool ¶
func CreateTool() *durable.ToolRegistration
CreateTool creates the tool_search tool.
Types ¶
Click to show internal directories.
Click to hide internal directories.