llm

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallProvider

CallProvider forwards a BridgeLlmRequest to the specified LLM provider and returns BridgeLlmResponse. Configuration priority: opts fields > environment variables > provider presets.

Types

type ProviderOpts

type ProviderOpts struct {
	Provider string
	APIKey   string
	Endpoint string
}

ProviderOpts holds LLM provider configuration, typically selected from client config ai. Only provider/model are currently passed over RPC; endpoint/api key remain optional overrides.

type ResolvedProvider

type ResolvedProvider struct {
	Provider string
	BaseURL  string
	APIKey   string
	ProxyURL string
	Timeout  time.Duration
}

Jump to

Keyboard shortcuts

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