Browse Source

fix: clean propertyNames for gemini function

Seefs 1 month ago
parent
commit
138fcd2327
1 changed files with 1 additions and 0 deletions
  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" {