langchain-ollama (partners): allow passing ChatMessage (with custom 'role') to ChatOllama #38580
check_diffs.yml
on: pull_request
build
9s
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
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.
|