When I use gemini's vertex ai model, the extractor doesn't work. I am using it in langgraph and I hit a recursion limit. My python code give more detail than this but I see in langmith the following message constantly being added to the message list when trying to create a patch
Fix the validation error while also avoiding: 'Failed to parse properties field: Failed to parse items field: Failed to parse properties field: Failed to parse anyOf field: Failed to parse items field: Failed to parse anyOf field: Failed to parse type field: Invalid enum value NULL for enum type google.cloud.aiplatform.v1beta1.Type at Schema.properties[patches].items.properties[value].anyOf[4].items.anyOf[4].type.......'
It seems as if the schema being used for the JSON patches isn't valid for Google's models.
When I use gemini's vertex ai model, the extractor doesn't work. I am using it in langgraph and I hit a recursion limit. My python code give more detail than this but I see in langmith the following message constantly being added to the message list when trying to create a patch
It seems as if the schema being used for the JSON patches isn't valid for Google's models.