Skip to content

Test failure in test_chat_models.py when google-genai > 1.74.0 #1791

Description

@sarahec

Package (Required)

  • langchain-google-genai
  • langchain-google-vertexai
  • langchain-google-community
  • Other / not sure / general

Checked other resources

  • I added a descriptive title to this issue
  • I searched the LangChain documentation and API reference (linked above)
  • I used the GitHub search to find a similar issue and didn't find it
  • I am sure this is a bug and not a question or request for help

Example Code (Python)

n/a, happens while building langchain-google-genai @ 4.2.2 with google-genai @ 1.74.0

Error Message and Stack Trace (if applicable)

FAILED tests/unit_tests/test_chat_models.py::test_response_to_result_grounding_metadata[raw_response2-expected_grounding_metadata2] - AssertionError: assert {'google_maps...images'], ...} == {'google_maps...im...

Description

See error logs in NixOS/nixpkgs#515940

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggenai`langchain-google-genai` package

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions