Skip to content

patches schema errors when using gemini vertex ai #67

@felipefhdl99

Description

@felipefhdl99

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions