fix: clean propertyNames for gemini function
This commit is contained in:
parent
71460cba15
commit
14b3dac82c
@ -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" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user