Documentation
¶
Index ¶
- Constants
- func PreferredCLIProvider() string
- func ResolveCLIProvider(cli, model string) string
- func SummaryToolName(model string) string
- func SummaryToolNameForRoot(rootDir string, model string) string
- func SummaryToolVersion(ctx context.Context, binary string, model string) string
- func SummaryToolVersionForRoot(ctx context.Context, rootDir string, binary string, model string) string
- func UsesDirectSummary(model string) bool
- func UsesDirectSummaryForRoot(rootDir string, model string) bool
- func Version(ctx context.Context, binary string) string
- type Options
- type Result
Constants ¶
View Source
const DirectLMStudioToolName = "lmstudio-direct"
View Source
const DirectOpenRouterToolName = "openrouter-direct"
View Source
const DirectSummaryToolName = "ollama-direct"
View Source
const ToolName = "summarize"
Variables ¶
This section is empty.
Functions ¶
func PreferredCLIProvider ¶
func PreferredCLIProvider() string
func ResolveCLIProvider ¶
func SummaryToolName ¶
func SummaryToolNameForRoot ¶ added in v0.2.23
func SummaryToolVersion ¶
func SummaryToolVersionForRoot ¶ added in v0.2.23
func UsesDirectSummary ¶
func UsesDirectSummaryForRoot ¶ added in v0.2.23
Types ¶
type Options ¶
type Options struct {
Binary string
Input string
Stdin string
Env map[string]string
Args []string
Summarize bool
Model string
CLI string
Prompt string
Length string
Language string
Timeout time.Duration
RootDir string
Metrics metrics.RunContext
// InferenceParams carries optional provider-specific sampler parameters
// used by parity-aware bakeoff runs. Normal summary callers leave this
// empty so provider/runtime defaults apply.
InferenceParams llmprovider.ParityParams
}
Click to show internal directories.
Click to hide internal directories.