all

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: 3 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 all blank-imports every built-in agent so their init() registrations run. A host (the proxy, a sidecar plugin) imports this package for its side effects, then asks the agent package for the agents. Import it for effect:

import _ "github.com/rossoctl/context-guru/agent/all"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsClientCompaction

func IsClientCompaction(h http.Header, body []byte) bool

IsClientCompaction is agent.IsClientCompaction for a host that has headers and no Client yet (a plugin host such as Cortex passes pctx.Headers; the bifrost adapter passes nil, which leaves the prompt match as the fallback).

func MarkedCompaction

func MarkedCompaction(h http.Header, body []byte) bool

MarkedCompaction reports whether the client marked this request as its own compaction. It is a thin wrapper: it identifies the client from h, then calls agent.MarkedCompaction. A host that already holds the Client calls agent.MarkedCompaction. A nil h gives false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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