pi

package
v0.7.16 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 2 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 pi holds Pi's mark. Pi calls the model through a provider SDK, so its User-Agent is the SDK's. The Pi plugin sets ClientHeader on each routed request instead. agent/client calls Is.

Index

Constants

View Source
const ClientHeader = "x-context-guru-client"

ClientHeader is the header the Pi plugin sets to Value. A host never forwards it upstream (the proxy drops every x-context-guru-* header).

View Source
const Value = "pi"

Value is what the Pi plugin sends in ClientHeader.

Variables

This section is empty.

Functions

func Is

func Is(h http.Header) bool

Is reports whether h carries Pi's mark.

Types

This section is empty.

Jump to

Keyboard shortcuts

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