taggroup

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
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

func Add(spec *openapi.Spec, group string, tags ...string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL