Replace legacy framework config with source selectors

This commit is contained in:
2026-10-04 11:26:40 +00:00
parent c8e2b972f3
commit 0d5ecfa842
6 changed files with 140 additions and 265 deletions

View File

@@ -14,8 +14,7 @@ var defaultConfigSearchPaths = []string{
// AppSettings holds the validated application values used by executable adapters.
type AppSettings struct {
PromptDir string
ProfileDir string
PromptKitSources []SourceSelection
SchemaDir string
ServerAddr string
ArtifactRoot string
@@ -23,15 +22,5 @@ type AppSettings struct {
MaxArtifactBytes int64
MaxResponseBytes int64
DefaultRenderFormat renderformat.PreparedRunOutputFormat
Backends []BackendSettings
TransientRetries *int
}
type BackendSettings struct {
ID string
Endpoint string
APIKeyEnv string
ExtraParams map[string]any
ConcurrencyLimit int
QueueCapacity *int
}