package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Version int `yaml:"version"`
Scan Scan `yaml:"scan"`
LLM LLM `yaml:"llm"`
Rules Rules `yaml:"rules"`
Output Output `yaml:"output"`
}
type LLM struct {
Provider string `yaml:"provider"`
Model string `yaml:"model"`
Temperature float64 `yaml:"temperature"`
APIKey string `yaml:"api_key"`
BaseURL string `yaml:"base_url"`
}
type Output struct {
Format string `yaml:"format"`
CIMode bool `yaml:"ci_mode"`
OutFile string `yaml:"out_file"`
}
type RuleConfig struct {
Severity string `yaml:"severity"`
}
type Rules struct {
Hallucination RuleConfig `yaml:"hallucination"`
LogicErrors RuleConfig `yaml:"logic_errors"`
Security RuleConfig `yaml:"security"`
}
type Scan struct {
Tiers []int `yaml:"tiers"`
MinScore int `yaml:"min_score"`
Languages []string `yaml:"languages"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.