Compose reusable configuration rules at the PromptKit path

This commit is contained in:
2026-11-21 14:18:15 +00:00
parent 76c8789e65
commit 34c0cf3f14
7 changed files with 207 additions and 88 deletions

View File

@@ -12,8 +12,8 @@ import (
)
func (state *loaded) buildExecutionProfiles() error {
backendConfigs := indexedBackends(&state.result.Config)
profileConfigs := indexedProfiles(&state.result.Config)
backendConfigs := indexedBackends(&state.result.Config.PromptKit)
profileConfigs := indexedProfiles(&state.result.Config.PromptKit)
state.backendRecords = backendConfigs
state.profileRecords = profileConfigs
definitions := make(map[string]domain.Backend, len(backendConfigs))