Documentation
¶
Overview ¶
Package taggroup adds tags to the groups of an OpenAPI specification, which Redoc shows tags in, so modules which register their handlers on their own, in any order, can share a group
Index ¶
Constants ¶
const ( // LLM is the group of the registry's, the toolkit's and the // broadcaster's tags LLM = "LLM" // ToolsAndAgents is the tag of the toolkit's tools and the registry's // agents, which models call ToolsAndAgents = "Tools & Agents" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add adds the tags to the group, which is created when there's none, so a tag which isn't in a group, which Redoc doesn't show, is. When the group has every tag, it's kept as it is. Otherwise its tags are those, in their order, and then those it had, so a module which adds every tag of the group, in order, orders it, whether it adds them before, or after, a module which adds one of them.
Types ¶
This section is empty.