provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppTitle   = "Jungi"
	AppReferer = "https://projects.dick.codes/jungi.git/"
)

AppTitle and AppReferer identify Jungi to OpenRouter for attribution/observability and ranking.

Variables

This section is empty.

Functions

func AttributionOptions added in v0.2.0

func AttributionOptions() []openrouter.SDKOption

AttributionOptions returns the SDK options that set the X-Title and HTTP-Referer headers on every OpenRouter request. It includes both the SDK's native header options and a transport-level injection so headers are sent with the current SDK version even though its global-header wiring is incomplete.

Types

This section is empty.

Source Files

  • attribution.go

Directories

Path Synopsis
Package catalog provides a provider-neutral view of the OpenRouter model search API for the /model search flow (see internal/tui/modelsearch and internal/tui/modelresults).
Package catalog provides a provider-neutral view of the OpenRouter model search API for the /model search flow (see internal/tui/modelsearch and internal/tui/modelresults).
Package client defines the provider-neutral transport contract used by jungi to talk to LLM APIs, plus the OpenRouter client implementation.
Package client defines the provider-neutral transport contract used by jungi to talk to LLM APIs, plus the OpenRouter client implementation.
Package message defines the Message type and the three roles a turn can occupy in a jungi conversation.
Package message defines the Message type and the three roles a turn can occupy in a jungi conversation.
Package model resolves model identifiers to their context limits, pricing, and reasoning capabilities entirely at runtime.
Package model resolves model identifiers to their context limits, pricing, and reasoning capabilities entirely at runtime.
modeltest
Package modeltest exports the canonical OpenRouter test identifiers and a Register helper that installs canned Configs for them.
Package modeltest exports the canonical OpenRouter test identifiers and a Register helper that installs canned Configs for them.
Package tooldef defines the provider-neutral tool-definition contract.
Package tooldef defines the provider-neutral tool-definition contract.
Package usage tracks token consumption and dollar cost across API requests.
Package usage tracks token consumption and dollar cost across API requests.

Jump to

Keyboard shortcuts

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