Skip to content

core: fix tool_call function #35734

core: fix tool_call function

core: fix tool_call function #35734

Triggered via pull request December 25, 2024 09:38
Status Failure
Total duration 5m 22s
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

26 errors and 77 warnings
Ruff (Q000): libs/core/langchain_core/messages/tool.py#L216
langchain_core/messages/tool.py:216:31: Q000 Single quotes found but double quotes preferred
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L220
langchain_core/messages/tool.py:220:34: EM101 Exception must not use a string literal, assign to variable first
Ruff (B904): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:30: EM101 Exception must not use a string literal, assign to variable first
cd libs/core / make lint #3.12
Process completed with exit code 2.
Ruff (Q000): libs/core/langchain_core/messages/tool.py#L216
langchain_core/messages/tool.py:216:31: Q000 Single quotes found but double quotes preferred
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L220
langchain_core/messages/tool.py:220:34: EM101 Exception must not use a string literal, assign to variable first
Ruff (B904): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:30: EM101 Exception must not use a string literal, assign to variable first
cd libs/core / make lint #3.13
Process completed with exit code 2.
Ruff (Q000): libs/core/langchain_core/messages/tool.py#L216
langchain_core/messages/tool.py:216:31: Q000 Single quotes found but double quotes preferred
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L220
langchain_core/messages/tool.py:220:34: EM101 Exception must not use a string literal, assign to variable first
Ruff (B904): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:30: EM101 Exception must not use a string literal, assign to variable first
cd libs/core / make lint #3.10
Process completed with exit code 2.
Ruff (Q000): libs/core/langchain_core/messages/tool.py#L216
langchain_core/messages/tool.py:216:31: Q000 Single quotes found but double quotes preferred
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L220
langchain_core/messages/tool.py:220:34: EM101 Exception must not use a string literal, assign to variable first
Ruff (B904): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:30: EM101 Exception must not use a string literal, assign to variable first
cd libs/core / make lint #3.9
Process completed with exit code 2.
Ruff (Q000): libs/core/langchain_core/messages/tool.py#L216
langchain_core/messages/tool.py:216:31: Q000 Single quotes found but double quotes preferred
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L220
langchain_core/messages/tool.py:220:34: EM101 Exception must not use a string literal, assign to variable first
Ruff (B904): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Ruff (EM101): libs/core/langchain_core/messages/tool.py#L222
langchain_core/messages/tool.py:222:30: EM101 Exception must not use a string literal, assign to variable first
cd libs/core / make lint #3.11
Process completed with exit code 2.
CI Success
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make extended_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / poetry run pytest -m compile tests/integration_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / poetry run pytest -m compile tests/integration_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make lint #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / poetry run pytest -m compile tests/integration_tests #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / poetry run pytest -m compile tests/integration_tests #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / poetry run pytest -m compile tests/integration_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.5.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make extended_tests #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.6.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make extended_tests #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make test # pydantic: ~=2.6.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make test # pydantic: ~=2.5.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.10
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.8.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.6.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test #3.11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.9.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.5.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/core / make test # pydantic: ~=2.10.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/langchain / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test # pydantic: ~=2.7.0, python: 3.11,
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make lint #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make test #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/partners/prompty / make lint #3.13
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make extended_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/community / make extended_tests #3.12
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cd libs/text-splitters / poetry run pytest -m compile tests/integration_tests #3.9
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI Success
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636