config

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLogDestination = "~/.local/share/terminus"

Variables

This section is empty.

Functions

func KnownImpls

func KnownImpls() []string

Types

type Config

type Config struct {
	ConfigPath     string
	CanonPath      string          `dd:"canon_path"`
	LogDestination string          `dd:"log_destination"`
	Reviewer       *ReviewerConfig `dd:"reviewer"`
}

func Load

func Load(path string) (*Config, error)

func (*Config) EnsureLogDestination

func (c *Config) EnsureLogDestination() error

func (*Config) Validate

func (c *Config) Validate() error

type ReviewerConfig

type ReviewerConfig struct {
	Name       string   `dd:"name"`
	Impl       string   `dd:"impl"`
	BinaryPath string   `dd:"binary_path"`
	Model      string   `dd:"model"`
	ExtraArgs  []string `dd:"extra_args"`
	Env        []string `dd:"env"`
}

Jump to

Keyboard shortcuts

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