MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / coerceModel

Function coerceModel

skills/models.go:125–131  ·  view source on GitHub ↗
(value any)

Source from the content-addressed store, hash-verified

123}
124
125func coerceModel(value any) *string {
126 result := optionalString(value)
127 if result != nil && strings.EqualFold(*result, "inherit") {
128 return nil
129 }
130 return result
131}
132
133func coerceStringList(value any, allowScalar bool) []string {
134 if value == nil {

Callers 1

ValidateFrontmatterFunction · 0.85

Calls 1

optionalStringFunction · 0.85

Tested by

no test coverage detected