Skip to content

langchain-ollama (partners): allow passing ChatMessage (with custom 'role') to ChatOllama #38580

langchain-ollama (partners): allow passing ChatMessage (with custom 'role') to ChatOllama

langchain-ollama (partners): allow passing ChatMessage (with custom 'role') to ChatOllama #38580

Triggered via pull request March 10, 2025 01:28
Status Failure
Total duration 4m 48s
Artifacts

check_diffs.yml

on: pull_request
Matrix: compile-integration-tests
Matrix: extended-tests
Matrix: lint
Matrix: test-doc-imports
Waiting for pending jobs
Matrix: test-pydantic
Matrix: test
CI Success
0s
CI Success
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Ruff (SIM910): libs/core/langchain_core/messages/utils.py#L277
langchain_core/messages/utils.py:277:26: SIM910 Use `additional_kwargs.get("role")` instead of `additional_kwargs.get("role", None)`
cd libs/core / make lint #3.10
Process completed with exit code 2.
Ruff (SIM910): libs/core/langchain_core/messages/utils.py#L277
langchain_core/messages/utils.py:277:26: SIM910 Use `additional_kwargs.get("role")` instead of `additional_kwargs.get("role", None)`
cd libs/core / make lint #3.11
Process completed with exit code 2.
Ruff (SIM910): libs/core/langchain_core/messages/utils.py#L277
langchain_core/messages/utils.py:277:26: SIM910 Use `additional_kwargs.get("role")` instead of `additional_kwargs.get("role", None)`
cd libs/core / make lint #3.12
Process completed with exit code 2.
Ruff (SIM910): libs/core/langchain_core/messages/utils.py#L277
langchain_core/messages/utils.py:277:26: SIM910 Use `additional_kwargs.get("role")` instead of `additional_kwargs.get("role", None)`
cd libs/core / make lint #3.13
Process completed with exit code 2.
Ruff (SIM910): libs/core/langchain_core/messages/utils.py#L277
langchain_core/messages/utils.py:277:26: SIM910 Use `additional_kwargs.get("role")` instead of `additional_kwargs.get("role", None)`
cd libs/core / make lint #3.9
Process completed with exit code 2.
cd libs/core / make test #3.12
Process completed with exit code 2.
cd libs/core / make test # pydantic: ~=2.8.0, python: 3.11,
Process completed with exit code 2.
cd libs/core / make test #3.9
Process completed with exit code 2.
cd libs/core / make test #3.13
Process completed with exit code 2.
cd libs/core / make test # pydantic: ~=2.10.0, python: 3.11,
Process completed with exit code 2.
cd libs/core / make test # pydantic: ~=2.6.0, python: 3.11,
Process completed with exit code 2.
cd libs/core / make test # pydantic: ~=2.7.0, python: 3.11,
Process completed with exit code 2.
cd libs/core / make test #3.11
Process completed with exit code 2.
cd libs/core / make test # pydantic: ~=2.9.0, python: 3.11,
Process completed with exit code 2.
cd libs/core / make test # pydantic: ~=2.5.0, python: 3.11,
Process completed with exit code 2.
cd libs/core / make test #3.10
Process completed with exit code 2.
CI Success
Process completed with exit code 1.