Selaa lähdekoodia

fix: clean propertyNames for gemini function

Seefs 1 kuukausi sitten
vanhempi
commit
138fcd2327
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      relay/channel/gemini/relay-gemini.go

+ 1 - 0
relay/channel/gemini/relay-gemini.go

@@ -675,6 +675,7 @@ func cleanFunctionParameters(params interface{}) interface{} {
 		delete(cleanedMap, "exclusiveMinimum")
 		delete(cleanedMap, "$schema")
 		delete(cleanedMap, "additionalProperties")
+		delete(cleanedMap, "propertyNames")
 
 		// Check and clean 'format' for string types
 		if propType, typeExists := cleanedMap["type"].(string); typeExists && propType == "string" {