Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

fix: update tiktoken version constraint to allow up to 0.12 (#3777)

Xiangyu Shi2167f784d647
diff --git a/pyproject.toml b/pyproject.toml
index 07dc607ac..e4ba87c52 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -22,7 +22,7 @@ keywords = [
]
dependencies = [
"mcp>=1.3.0",
- "tiktoken>=0.7.0,<0.8",
+ "tiktoken>=0.7.0,<=0.12",
"colorama>=0.4.6,<0.5",
"jsonschema>=4,<5",
"docstring-parser>=0.17.0,<0.18",
diff --git a/uv.lock b/uv.lock
index 41a1106d4..ee3c469fa 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1,5 +1,5 @@
version = 1
-revision = 3
+revision = 2
requires-python = ">=3.10, <3.15"
resolution-markers = [
"python_full_version >= '3.14' and sys_platform == 'win32'",
@@ -1704,7 +1704,7 @@ requires-dist = [
{ name = "tavily-python", marker = "extra == 'web-tools'", specifier = ">=0.5.0,<0.6" },
{ name = "textblob", marker = "extra == 'all'", specifier = ">=0.17.1,<0.18" },
{ name = "textblob", marker = "extra == 'data-tools'", specifier = ">=0.17.1,<0.18" },
- { name = "tiktoken", specifier = ">=0.7.0,<0.8" },
+ { name = "tiktoken", specifier = ">=0.7.0,<=0.12" },
{ name = "toml", marker = "extra == 'dev'", specifier = ">=0.10.2" },
{ name = "transformers", marker = "extra == 'all'", specifier = ">=4,<5" },
{ name = "transformers", marker = "extra == 'huggingface'", specifier = ">=4,<5" },