settings

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommitAgent   = 0
	PRTitleAgent  = 1
	PRBodyAgent   = 2
	StartingAgent = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AIProviderSettings

type AIProviderSettings struct {
	Provider string `json:"provider"`
	APIKey   string `json:"apiKey"`
	Server   string `json:"server"`
}

type Settings

type Settings struct {
	GitHubToken string               `json:"githubToken"`
	AIProviders []AIProviderSettings `json:"aiProviders"`
	Agents      []agent.AgentOptions `json:"agents"`
	SystemAgent SystemAgentSettings  `json:"systemAgent"`
}

type SystemAgentSettings

type SystemAgentSettings struct {
	ProviderName    string `json:"providerName"`
	Model           string `json:"model"`
	CommitTemplate  string `json:"commitTemplate"`
	PRTitleTemplate string `json:"prTitleTemplate"`
	PRBodyTemplate  string `json:"prBodyTemplate"`
}

Jump to

Keyboard shortcuts

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