Add Promptkit configuration and inspection seams
This commit is contained in:
@@ -28,6 +28,7 @@ type Config struct {
|
||||
Notify NotifyConfig `yaml:"notify"`
|
||||
MissingSource MissingSourceConfig `yaml:"missing_source"`
|
||||
Scriptorium ScriptoriumConfig `yaml:"scriptorium"`
|
||||
Promptkit PromptkitConfig `yaml:"promptkit"`
|
||||
Workspace WorkspaceConfig `yaml:"workspace"`
|
||||
Dayparts []DaypartConfig `yaml:"dayparts"`
|
||||
RecentChange RecentChangeConfig `yaml:"recent_change"`
|
||||
@@ -89,6 +90,19 @@ type ScriptoriumConfig struct {
|
||||
ExtraArgs []string `yaml:"extra_args"`
|
||||
}
|
||||
|
||||
type PromptkitConfig struct {
|
||||
Profile string `yaml:"profile"`
|
||||
ProfileFile string `yaml:"profile_file"`
|
||||
ProfileDir string `yaml:"profile_dir"`
|
||||
Timeout time.Duration `yaml:"timeout"`
|
||||
Local PromptkitLocalConfig `yaml:"local"`
|
||||
}
|
||||
|
||||
type PromptkitLocalConfig struct {
|
||||
Endpoint string `yaml:"endpoint"`
|
||||
ConcurrencyLimit int `yaml:"concurrency_limit"`
|
||||
}
|
||||
|
||||
type WorkspaceConfig struct {
|
||||
Root string `yaml:"root"`
|
||||
SnapshotsDir string `yaml:"snapshots_dir"`
|
||||
|
||||
Reference in New Issue
Block a user