search

package
v0.1.4621 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 4 Imported by: 1 module, 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 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