Add regression tests for code_interpreter middleware PTC allowlist

- Ensure 'task' is excluded from the default PTC allowlist to prevent ValueError in langchain-quickjs >=0.3.
- Verify that essential async dispatch tools remain in the allowlist.
- Confirm that the live quickjs filter accepts the default allowlist even with a 'task' tool present.
- Test the creation of the code_interpreter middleware to ensure it builds correctly.
This commit is contained in:
X-iZhang
2026-06-23 08:40:35 +01:00
parent 9460b9ecd6
commit c063a00c8f
8 changed files with 146 additions and 36 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
[project]
name = "EvoScientist"
version = "0.1.8"
version = "0.1.9"
description = "EvoScientist: Towards Self-Evolving AI Scientists for End-to-End Scientific Discovery"
readme = "README.md"
requires-python = ">=3.11"
@@ -16,7 +16,7 @@ classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"deepagents[quickjs]~=0.6.10",
"deepagents[quickjs]~=0.6.11",
"langchain>=1.3",
"langchain-anthropic>=1.4",
"langchain-openai>=1.2",