Help us shape the future of Go! Take the 2026 Go Developer Survey

search

package
v0.1.1508 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package search is magpie's web search for a model that can't search by itself: the agent's web_search tool, answered by a provider that can search or a search API set up in Settings. While a search API is set up or a searcher is picked, it stays on.

It serves gwtool.WebSearch on the gateway's tool point (P3 of docs/subsystems/plugin-runtime.md). Off, magpie offers and answers no search of its own: the stand-in tool, the search MCP server and Codex's search in ChatGPT's place say there is no searcher, and a vendor that searches by itself still does.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InUse

func InUse() (int, error)

InUse counts the search APIs set up, and a searcher picked in Settings (neither magpie's pick nor off); a providers.json or settings that can't be read are not known, so it stays on.

Types

This section is empty.

Jump to

Keyboard shortcuts

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