config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config holds flakehunter's runtime settings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Repo         string
	Owner        string
	RepoName     string
	Days         int
	WorkflowFile string
	MaxRuns      int

	Offline     bool
	FixturesDir string

	Provider    string
	Model       string
	BaseURL     string
	Temperature float64

	MinConfidence float64
	Token         string
}

Config is the resolved configuration for a command invocation.

func Default

func Default() Config

Default returns the baseline settings before flags are applied.

func (Config) LLMOptions

func (c Config) LLMOptions() llm.Options

LLMOptions projects the config onto the llm package's options.

func (*Config) Validate

func (c *Config) Validate(needRepo bool) error

Validate checks the configuration and normalises derived fields.

Jump to

Keyboard shortcuts

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