Skip to content

fix(genai): respect provided client in ChatGoogleGenerativeAI (Fixes #1615) #4680

fix(genai): respect provided client in ChatGoogleGenerativeAI (Fixes #1615)

fix(genai): respect provided client in ChatGoogleGenerativeAI (Fixes #1615) #4680

Triggered via pull request March 5, 2026 13:22
Status Failure
Total duration 54s
Artifacts

check_diffs.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

24 errors
cd libs/genai / - / make lint #3.14
Process completed with exit code 2.
ruff (E501): libs/genai/tests/unit_tests/test_chat_models.py#L578
tests/unit_tests/test_chat_models.py:578:89: E501 Line too long (115 > 88)
ruff (F821): libs/genai/tests/unit_tests/test_chat_models.py#L578
tests/unit_tests/test_chat_models.py:578:23: F821 Undefined name `Client`
ruff (ANN001): libs/genai/tests/unit_tests/test_chat_models.py#L575
tests/unit_tests/test_chat_models.py:575:41: ANN001 Missing type annotation for function argument `mock_client_class`
ruff (ANN201): libs/genai/tests/unit_tests/test_chat_models.py#L575
tests/unit_tests/test_chat_models.py:575:5: ANN201 Missing return type annotation for public function `test_provided_client_with_vertex_ai` help: Add return type annotation: `None`
ruff (F821): libs/genai/tests/unit_tests/test_chat_models.py#L552
tests/unit_tests/test_chat_models.py:552:23: F821 Undefined name `Client`
ruff (ANN201): libs/genai/tests/unit_tests/test_chat_models.py#L549
tests/unit_tests/test_chat_models.py:549:5: ANN201 Missing return type annotation for public function `test_provided_client_is_used` help: Add return type annotation: `None`
cd libs/genai / - / make lint #3.10
The strategy configuration was canceled because "ci.libs_genai.lint.build._3_14" failed
cd libs/genai / - / make lint #3.10
Process completed with exit code 2.
ruff (E501): libs/genai/tests/unit_tests/test_chat_models.py#L578
tests/unit_tests/test_chat_models.py:578:89: E501 Line too long (115 > 88)
ruff (F821): libs/genai/tests/unit_tests/test_chat_models.py#L578
tests/unit_tests/test_chat_models.py:578:23: F821 Undefined name `Client`
ruff (ANN001): libs/genai/tests/unit_tests/test_chat_models.py#L575
tests/unit_tests/test_chat_models.py:575:41: ANN001 Missing type annotation for function argument `mock_client_class`
ruff (ANN201): libs/genai/tests/unit_tests/test_chat_models.py#L575
tests/unit_tests/test_chat_models.py:575:5: ANN201 Missing return type annotation for public function `test_provided_client_with_vertex_ai` help: Add return type annotation: `None`
ruff (F821): libs/genai/tests/unit_tests/test_chat_models.py#L552
tests/unit_tests/test_chat_models.py:552:23: F821 Undefined name `Client`
ruff (ANN201): libs/genai/tests/unit_tests/test_chat_models.py#L549
tests/unit_tests/test_chat_models.py:549:5: ANN201 Missing return type annotation for public function `test_provided_client_is_used` help: Add return type annotation: `None`
cd libs/genai / - / make test #3.13
Process completed with exit code 2.
cd libs/genai / - / make test #3.14
The strategy configuration was canceled because "ci.libs_genai.test.build._3_13" failed
cd libs/genai / - / make test #3.14
Process completed with exit code 2.
cd libs/genai / - / make test #3.12
The strategy configuration was canceled because "ci.libs_genai.test.build._3_13" failed
cd libs/genai / - / make test #3.12
The operation was canceled.
cd libs/genai / - / make test #3.11
The strategy configuration was canceled because "ci.libs_genai.test.build._3_13" failed
cd libs/genai / - / make test #3.11
The operation was canceled.
cd libs/genai / - / make test #3.10
The strategy configuration was canceled because "ci.libs_genai.test.build._3_13" failed
cd libs/genai / - / make test #3.10
The operation was canceled.