Remove redundant captured prompt fields

This commit is contained in:
2026-11-05 14:34:05 +00:00
parent 7db5572b62
commit cee9bbc7b2
7 changed files with 10 additions and 10 deletions

View File

@@ -641,9 +641,6 @@ func copyExtraParams(src map[string]any) map[string]any {
func resolveOutputContract(def *domain.PromptDefinition, override *domain.OutputContract) (domain.OutputContract, error) {
contract := def.Validation
if contract.Format == "" {
contract.Format = def.OutputFormat
}
if override != nil {
contract = *override
if contract.Format == "" {