Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions ci/conda-lock/linux-64-py3.11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.11.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.105.0", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.11.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand All @@ -14,7 +14,6 @@ https://conda.anaconda.org/conda-forge/noarch/aiosignal-1.4.0-pyhd8ed1ab_0.conda
https://conda.anaconda.org/conda-forge/noarch/annotated-types-0.8.0-pyhd8ed1ab_0.conda#b8fcb994134d3918d1c64a9d62f4168ff85d5bfb89e698102fe4ed679fe0df24
https://conda.anaconda.org/conda-forge/noarch/anyio-4.16.0-pyh5ded981_1.conda#7a5d6533f3b9a59a19a7492865ff4492c1c170396c0c04b2f9c5820f603610d9
https://conda.anaconda.org/conda-forge/linux-64/ast-serialize-0.13.1-py311hf77984d_0.conda#4ad7663308296e177d07ff2c3441e70541c71054fd950677a610cd199d5f7721
https://conda.anaconda.org/conda-forge/noarch/async-timeout-5.0.1-pyhcf101f3_2.conda#6638b68ab2675d0bed1f73562a4e75a61863b903be1538282cddb56c8e8f75bd
https://conda.anaconda.org/conda-forge/noarch/attrs-26.1.0-pyhcf101f3_0.conda#1b6124230bb4e571b1b9401537ecff575b7b109cc3a21ee019f65e083b8399ab
https://conda.anaconda.org/conda-forge/linux-64/aws-c-auth-0.10.4-hb7a77c6_1.conda#845fe32ee750d4a4d3efdb1d95a8c29c3388e3ea9787b77341ec4abe4e198b11
https://conda.anaconda.org/conda-forge/linux-64/aws-c-cal-0.9.14-h2aa3ae6_4.conda#a67c944be1728f576c02fe8f28b0cbb78b5353415075db3da4ef71bc9dd8c00c
Expand Down Expand Up @@ -130,7 +129,7 @@ https://conda.anaconda.org/conda-forge/linux-64/libxcrypt-4.4.38-h280c20c_0.cond
https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.15.4-ha7a5771_1.conda#ef0f51a53d5f5d8a0aa8a71115a36b1bb3cd3ac95d65ced2cbfec7f1f08229b0
https://conda.anaconda.org/conda-forge/linux-64/libxml2-16-2.15.4-hbdfff7e_1.conda#642d5d650a5f877a13ca60b720ae88643a145a30fb7a1065fd96c370595a5e2c
https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda#eb8a0db0aa570124f7d2a93d7c7f596e3390df5e047818d873baad32985fc736
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.106.0-py311ha6e1976_1.conda#59f15297ae4e3c4663a262cc2048dd50475c125fb74577c5824205469447d06f
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.109.1-py311ha6e1976_0.conda#40e528ff035de4a0b8b821c73dceaa5e2de057b2a771bd3869380b415934eab8
https://conda.anaconda.org/conda-forge/linux-64/lz4-c-1.10.0-hee9eb32_2.conda#b8c0e930183e6b7f83cd35ace102f2b8c2f0faae41dc05255dc72f247dfc556a
https://conda.anaconda.org/conda-forge/noarch/markdown-it-py-4.2.0-pyhd8ed1ab_0.conda#0c4c35376fe920714390d46e4b8d31c876d65f18e1655899e0763ec25f2a902f
https://conda.anaconda.org/conda-forge/linux-64/markupsafe-3.0.4-py311h364832d_4.conda#a053e7ad71a09122a45210ce2e4713b65ca83f5b56512abf89defc94f110556e
Expand Down
5 changes: 2 additions & 3 deletions ci/conda-lock/linux-64-py3.12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.12.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.105.0", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.12.*", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand All @@ -14,7 +14,6 @@ https://conda.anaconda.org/conda-forge/noarch/aiosignal-1.4.0-pyhd8ed1ab_0.conda
https://conda.anaconda.org/conda-forge/noarch/annotated-types-0.8.0-pyhd8ed1ab_0.conda#b8fcb994134d3918d1c64a9d62f4168ff85d5bfb89e698102fe4ed679fe0df24
https://conda.anaconda.org/conda-forge/noarch/anyio-4.16.0-pyh5ded981_1.conda#7a5d6533f3b9a59a19a7492865ff4492c1c170396c0c04b2f9c5820f603610d9
https://conda.anaconda.org/conda-forge/linux-64/ast-serialize-0.13.1-py311hf77984d_0.conda#4ad7663308296e177d07ff2c3441e70541c71054fd950677a610cd199d5f7721
https://conda.anaconda.org/conda-forge/noarch/async-timeout-5.0.1-pyhcf101f3_2.conda#6638b68ab2675d0bed1f73562a4e75a61863b903be1538282cddb56c8e8f75bd
https://conda.anaconda.org/conda-forge/noarch/attrs-26.1.0-pyhcf101f3_0.conda#1b6124230bb4e571b1b9401537ecff575b7b109cc3a21ee019f65e083b8399ab
https://conda.anaconda.org/conda-forge/linux-64/aws-c-auth-0.10.4-hb7a77c6_1.conda#845fe32ee750d4a4d3efdb1d95a8c29c3388e3ea9787b77341ec4abe4e198b11
https://conda.anaconda.org/conda-forge/linux-64/aws-c-cal-0.9.14-h2aa3ae6_4.conda#a67c944be1728f576c02fe8f28b0cbb78b5353415075db3da4ef71bc9dd8c00c
Expand Down Expand Up @@ -130,7 +129,7 @@ https://conda.anaconda.org/conda-forge/linux-64/libxcrypt-4.4.38-h280c20c_0.cond
https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.15.4-ha7a5771_1.conda#ef0f51a53d5f5d8a0aa8a71115a36b1bb3cd3ac95d65ced2cbfec7f1f08229b0
https://conda.anaconda.org/conda-forge/linux-64/libxml2-16-2.15.4-hbdfff7e_1.conda#642d5d650a5f877a13ca60b720ae88643a145a30fb7a1065fd96c370595a5e2c
https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda#eb8a0db0aa570124f7d2a93d7c7f596e3390df5e047818d873baad32985fc736
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.106.0-py312hc767a74_1.conda#2dc02106df87372d49d184d01951025ab5b12463fef5395eea63b3ebd23dbbe3
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.109.1-py312hc767a74_0.conda#63302dd9097b9d33e17678fb4ff7b8b6baf006326729c99b1b5aab0705e537db
https://conda.anaconda.org/conda-forge/linux-64/lz4-c-1.10.0-hee9eb32_2.conda#b8c0e930183e6b7f83cd35ace102f2b8c2f0faae41dc05255dc72f247dfc556a
https://conda.anaconda.org/conda-forge/noarch/markdown-it-py-4.2.0-pyhd8ed1ab_0.conda#0c4c35376fe920714390d46e4b8d31c876d65f18e1655899e0763ec25f2a902f
https://conda.anaconda.org/conda-forge/linux-64/markupsafe-3.0.4-py312h8b7ec3f_4.conda#f4b991bec24a52c8c20f790f17b15b98337da3a42ba1996f6cbafe4c7a6f69d5
Expand Down
5 changes: 2 additions & 3 deletions ci/conda-lock/linux-64-py3.13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.13.* *_cp313", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.105.0", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.13.* *_cp313", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand All @@ -14,7 +14,6 @@ https://conda.anaconda.org/conda-forge/noarch/aiosignal-1.4.0-pyhd8ed1ab_0.conda
https://conda.anaconda.org/conda-forge/noarch/annotated-types-0.8.0-pyhd8ed1ab_0.conda#b8fcb994134d3918d1c64a9d62f4168ff85d5bfb89e698102fe4ed679fe0df24
https://conda.anaconda.org/conda-forge/noarch/anyio-4.16.0-pyh5ded981_1.conda#7a5d6533f3b9a59a19a7492865ff4492c1c170396c0c04b2f9c5820f603610d9
https://conda.anaconda.org/conda-forge/linux-64/ast-serialize-0.13.1-py311hf77984d_0.conda#4ad7663308296e177d07ff2c3441e70541c71054fd950677a610cd199d5f7721
https://conda.anaconda.org/conda-forge/noarch/async-timeout-5.0.1-pyhcf101f3_2.conda#6638b68ab2675d0bed1f73562a4e75a61863b903be1538282cddb56c8e8f75bd
https://conda.anaconda.org/conda-forge/noarch/attrs-26.1.0-pyhcf101f3_0.conda#1b6124230bb4e571b1b9401537ecff575b7b109cc3a21ee019f65e083b8399ab
https://conda.anaconda.org/conda-forge/linux-64/aws-c-auth-0.10.4-hb7a77c6_1.conda#845fe32ee750d4a4d3efdb1d95a8c29c3388e3ea9787b77341ec4abe4e198b11
https://conda.anaconda.org/conda-forge/linux-64/aws-c-cal-0.9.14-h2aa3ae6_4.conda#a67c944be1728f576c02fe8f28b0cbb78b5353415075db3da4ef71bc9dd8c00c
Expand Down Expand Up @@ -129,7 +128,7 @@ https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.42.4-hcfc3c73_1.conda#
https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.15.4-ha7a5771_1.conda#ef0f51a53d5f5d8a0aa8a71115a36b1bb3cd3ac95d65ced2cbfec7f1f08229b0
https://conda.anaconda.org/conda-forge/linux-64/libxml2-16-2.15.4-hbdfff7e_1.conda#642d5d650a5f877a13ca60b720ae88643a145a30fb7a1065fd96c370595a5e2c
https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda#eb8a0db0aa570124f7d2a93d7c7f596e3390df5e047818d873baad32985fc736
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.106.0-py313ha296275_1.conda#f046723ca347545c95104a362a9a9bd60f9aeb531f9560d054ff9df0ba05e3bc
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.109.1-py313ha296275_0.conda#923f0c1043a6ab34345466988db9c8d7b962ae5c9fe38814a2864bd42bbf991d
https://conda.anaconda.org/conda-forge/linux-64/lz4-c-1.10.0-hee9eb32_2.conda#b8c0e930183e6b7f83cd35ace102f2b8c2f0faae41dc05255dc72f247dfc556a
https://conda.anaconda.org/conda-forge/noarch/markdown-it-py-4.2.0-pyhd8ed1ab_0.conda#0c4c35376fe920714390d46e4b8d31c876d65f18e1655899e0763ec25f2a902f
https://conda.anaconda.org/conda-forge/linux-64/markupsafe-3.0.4-py313h2af15c8_4.conda#5af4aa27ae4893df1c89a2df12da25320b0540f65a63ffe6b5c8b9e8295184be
Expand Down
5 changes: 2 additions & 3 deletions ci/conda-lock/linux-64-py3.14.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

# Generated by ci/lock.py; regenerate with: python ci/lock.py
# specs: ["python 3.14.* *_cp314", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.105.0", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# specs: ["python 3.14.* *_cp314", "python >=3.11", "pyyaml >=6.0.1,<7", "jsonschema >=4.20,<5", "litellm >=1.108.4", "httpx >=0.27.0", "numpy >=1.24.0", "scipy >=1.11.0", "pygithub >=2.1.0", "datasets >=2.20,<6", "openai >=1.51,<3", "regex >=2024.11.6", "pip", "pytest >=9.0.3", "hypothesis >=6.100", "pytest-mock >=3.12.0", "pytest-socket >=0.7", "pytest-timeout >=2.2", "pytest-randomly >=3.15", "pytest-xdist >=3.6", "markdown-it-py >=3", "packaging", "mypy ==2.4.1"]
# min-age-days: 7
# platform: linux-64
@EXPLICIT
Expand All @@ -14,7 +14,6 @@ https://conda.anaconda.org/conda-forge/noarch/aiosignal-1.4.0-pyhd8ed1ab_0.conda
https://conda.anaconda.org/conda-forge/noarch/annotated-types-0.8.0-pyhd8ed1ab_0.conda#b8fcb994134d3918d1c64a9d62f4168ff85d5bfb89e698102fe4ed679fe0df24
https://conda.anaconda.org/conda-forge/noarch/anyio-4.16.0-pyh5ded981_1.conda#7a5d6533f3b9a59a19a7492865ff4492c1c170396c0c04b2f9c5820f603610d9
https://conda.anaconda.org/conda-forge/linux-64/ast-serialize-0.13.1-py311hf77984d_0.conda#4ad7663308296e177d07ff2c3441e70541c71054fd950677a610cd199d5f7721
https://conda.anaconda.org/conda-forge/noarch/async-timeout-5.0.1-pyhcf101f3_2.conda#6638b68ab2675d0bed1f73562a4e75a61863b903be1538282cddb56c8e8f75bd
https://conda.anaconda.org/conda-forge/noarch/attrs-26.1.0-pyhcf101f3_0.conda#1b6124230bb4e571b1b9401537ecff575b7b109cc3a21ee019f65e083b8399ab
https://conda.anaconda.org/conda-forge/linux-64/aws-c-auth-0.10.4-hb7a77c6_1.conda#845fe32ee750d4a4d3efdb1d95a8c29c3388e3ea9787b77341ec4abe4e198b11
https://conda.anaconda.org/conda-forge/linux-64/aws-c-cal-0.9.14-h2aa3ae6_4.conda#a67c944be1728f576c02fe8f28b0cbb78b5353415075db3da4ef71bc9dd8c00c
Expand Down Expand Up @@ -129,7 +128,7 @@ https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.42.4-hcfc3c73_1.conda#
https://conda.anaconda.org/conda-forge/linux-64/libxml2-2.15.4-ha7a5771_1.conda#ef0f51a53d5f5d8a0aa8a71115a36b1bb3cd3ac95d65ced2cbfec7f1f08229b0
https://conda.anaconda.org/conda-forge/linux-64/libxml2-16-2.15.4-hbdfff7e_1.conda#642d5d650a5f877a13ca60b720ae88643a145a30fb7a1065fd96c370595a5e2c
https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda#eb8a0db0aa570124f7d2a93d7c7f596e3390df5e047818d873baad32985fc736
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.106.0-py314h7e8cd81_1.conda#68f0bf09711671d0aec11156cc7bb7d4eb7b96a3ba74bb473085fdda886b3c47
https://conda.anaconda.org/conda-forge/linux-64/litellm-1.109.1-py314h7e8cd81_0.conda#4d07b218c7ee90f8d8490f587a70dc78fa3fe5e90d0f68e67b360f509a7feeff
https://conda.anaconda.org/conda-forge/linux-64/lz4-c-1.10.0-hee9eb32_2.conda#b8c0e930183e6b7f83cd35ace102f2b8c2f0faae41dc05255dc72f247dfc556a
https://conda.anaconda.org/conda-forge/noarch/markdown-it-py-4.2.0-pyhd8ed1ab_0.conda#0c4c35376fe920714390d46e4b8d31c876d65f18e1655899e0763ec25f2a902f
https://conda.anaconda.org/conda-forge/linux-64/markupsafe-3.0.4-py314h93e9acf_4.conda#35b412b97ad6c65e2c5aef1e2039981bc53f847bd0673610a76f133628f24e3b
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ requirements:
- python >=3.11
- pyyaml >=6.0.1,<7
- jsonschema >=4.20,<5
- litellm >=1.105.0
- litellm >=1.108.4
- httpx >=0.27.0
- numpy >=1.24.0
- scipy >=1.11.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Copyright (C) 2026 Intel Corporation
SPDX-License-Identifier: Apache-2.0
-->

### Fixed

- **`skill-agent:` arms answer again from a locked install** — litellm 1.106.0 to 1.108.3 import `mcp`, which Dokimi does not install, on every `completion(tools=...)` call, so each agent arm answer was recorded as `agent_failed: No module named 'mcp'` while `arms run` still reported `OK`. Dokimi now requires `litellm>=1.108.4`, and `requirements.lock.txt` and the Intel CI conda locks pin litellm 1.109.1. If you installed Dokimi with `pip install dokimi` and an older litellm, run `pip install -U "litellm>=1.108.4"` and re-run affected `arms run` batches.
2 changes: 1 addition & 1 deletion dokimi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [
dependencies = [
"PyYAML>=6.0.1,<7",
"jsonschema>=4.20,<5",
"litellm>=1.105.0",
"litellm>=1.108.4",
"httpx>=0.27.0",
"numpy>=1.24.0",
"scipy>=1.11.0",
Expand Down
2 changes: 1 addition & 1 deletion dokimi/requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ diff-cover>=10.0
httpx>=0.27.0
numpy>=1.24.0
scipy>=1.11.0
litellm>=1.105.0
litellm>=1.108.4
# tests/test_docs_hooks.py imports it; it was only in the lock via ragas -> rich, so its tests would skip.
markdown-it-py>=3
21 changes: 11 additions & 10 deletions dokimi/requirements.lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ anyio==4.15.1 \
--hash=sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94
# via
# httpx
# litellm
# openai
ast-serialize==0.13.1 \
--hash=sha256:02686b281ec9b8e9614f6f0db27e12e4cac515f336c5d05b678bc9eb73ff2af5 \
Expand Down Expand Up @@ -809,7 +810,7 @@ execnet==2.1.2 \
--hash=sha256:63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd \
--hash=sha256:67fba928dd5a544b783f6056f449e5e3931a5c378b128bc18501f7ea79e296ec
# via pytest-xdist
fastuuid==0.14.0 \
fastuuid==0.14.0 ; python_full_version < '3.15' \
--hash=sha256:05a8dde1f395e0c9b4be515b7a521403d1e8349443e7641761af07c7ad1624b1 \
--hash=sha256:0737606764b29785566f968bd8005eace73d3666bd0862f33a760796e26d1ede \
--hash=sha256:089c18018fdbdda88a6dafd7d139f8703a1e7c799618e33ea25eb52503d28a11 \
Expand Down Expand Up @@ -1476,15 +1477,15 @@ librt==0.16.0 ; platform_python_implementation != 'PyPy' \
--hash=sha256:fe52bf4641069e7978a14253b036cb9002def1926317e710f2e249f8a8c47742 \
--hash=sha256:ff7baa55f8e7c69851419e50a666015d02a74198716fd45c0125a2112e0a389f
# via mypy
litellm==1.106.6 \
--hash=sha256:42ce43ffb0161c9a844e8b0cd02a8796d0423b11d84fe304bff925378ca55085 \
--hash=sha256:8bf6d33b5ca32a5fc6858784b64c82e7f3bfab462d571d7d0def5596c3e1acc3 \
--hash=sha256:a2876545a652de5070fa5905849b479cee977680b0616b603a6ab21fd5599524 \
--hash=sha256:a51f2a7317ab9cb1ef01a93c619f3c7ff69fe1fe13a59b409d0130748b5d8af9 \
--hash=sha256:ac74f9ff9faae1a424dc7be873b80ccf1cea1681a9f4dac03bac068ae3a8d8b0 \
--hash=sha256:af0b6f4a3df53194b74188a972f103f41ee5ed86afeefc7d9a1ea40156cc0f2e \
--hash=sha256:ec3cae6c87971657c9ae905b6d23aef456e979c8848f22bbc5096a31e1a1da4d \
--hash=sha256:f3398d8c21ac9fe851f1788a2d811af7f369fb485d775a25a9b3f517b0b3e88b
litellm==1.109.1 \
--hash=sha256:1b2866219249186babe194d7e3f4af29095c0905a4c5712b62be662aa6a38fb7 \
--hash=sha256:1c8b4dd671fa0cd0850aa751678704ff77e595fb1e6085b2dc3be39ee19bdaaf \
--hash=sha256:1dcf31166d385e6eaaef7f5840ba88c4eac319d1aa2d3ec2787de981e07fcf11 \
--hash=sha256:1fdf789757fc71c9a9ac183cd326b978782dfa9ebd44087c6603b5b963956841 \
--hash=sha256:5b98ecccd93374b8ea1746ee98de16b505c0b5e6c0dfb7e8afec3d817d08d7c2 \
--hash=sha256:738fd2465e24460f03a8c5ff33dc57c3fdfad88ff489811d718ee6ba3c5ad900 \
--hash=sha256:b94080b0436c471e686735d10fd1069c151cf8b9816d823a1450419573f30e46 \
--hash=sha256:c84737897b6b459acd660fd7adb33e2d552c5d0b93c4a47b8cd4f5e299c93bac
# via
# -r requirements-test.txt
# -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion dokimi/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ datasets>=2.20,<6
openai>=1.51,<3
PyYAML>=6.0.1,<7
jsonschema>=4.20,<5
litellm>=1.105.0
litellm>=1.108.4
httpx>=0.27.0
PyGithub>=2.1.0
numpy>=1.24.0
Expand Down
45 changes: 45 additions & 0 deletions dokimi/tests/test_agent_arm_dependencies.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Copyright (C) 2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

"""The packages installed from requirements.lock.txt run a ``skill_agent:`` arm.

The real ``litellm.completion`` runs with ``mock_response``: it sends nothing, but imports what
a call that offers tools imports, which on litellm 1.106.0 to 1.108.3 is ``mcp`` (BerriAI/litellm#46045).
"""

import pytest

from dokimi.eval.arm_runner import ArmRunner
from dokimi.skills import load_skill
from dokimi.treatments import SkillAgentTreatment

REPLY = "The demo widget listens on port 4242."


@pytest.fixture
def offline_litellm(monkeypatch):
"""``litellm.completion`` with its real import path and a canned reply; the calls land in the list."""
import litellm

from dokimi import caching

real, calls = litellm.completion, []

def completion(**kwargs):
calls.append(kwargs)
return real(**kwargs, mock_response=REPLY)

monkeypatch.setattr(litellm, "completion", completion)
monkeypatch.delenv(caching.RESPONSE_CACHE_ENV, raising=False)
monkeypatch.setenv("OPENAI_API_KEY", "sk-test")
return calls


def test_a_skill_agent_arm_answers_with_the_locked_dependencies(offline_litellm, demo_skill):
"""On litellm 1.106.6 every agent arm answer was ``agent_failed: No module named 'mcp'``."""
runner = ArmRunner([SkillAgentTreatment(load_skill(demo_skill))], model="gpt-4o", provider="openai")
arm = runner.run("demo", [{"id": "Q1", "question": "Which port does the demo widget use?"}],
concurrency=1)[0]["arms"]["skill_agent:demo-skill"]
assert arm.get("error") is None
assert arm["answer"] == REPLY
assert [bool(call.get("tools")) for call in offline_litellm] == [True]
Loading