enhance: PR 345 camel support 0.2.76a1 (#349)

This commit is contained in:
Wendong-Fan 2025-09-16 15:54:52 +08:00 committed by GitHub
commit f18e13643e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@ description = "Add your description here"
readme = "README.md"
requires-python = "==3.10.16"
dependencies = [
"camel-ai[eigent]>=0.2.76a1",
"camel-ai[eigent]>=0.2.76a2",
"fastapi>=0.115.12",
"fastapi-babel>=1.0.0",
"uvicorn[standard]>=0.34.2",

View file

@ -586,7 +586,7 @@ class TestAgentFactoryFunctions:
patch('app.utils.agent.get_toolkits') as mock_get_toolkits, \
patch('asyncio.create_task'), \
patch('app.utils.agent.HumanToolkit') as mock_human_toolkit, \
patch('app.utils.agent.FileWriteToolkit') as mock_file_toolkit, \
patch('app.utils.agent.FileToolkit') as mock_file_toolkit, \
patch('app.utils.agent.PPTXToolkit') as mock_pptx_toolkit, \
patch('app.utils.agent.MarkItDownToolkit') as mock_markdown_toolkit, \
patch('app.utils.agent.ExcelToolkit') as mock_excel_toolkit, \
@ -747,7 +747,7 @@ class TestToolkitFunctions:
with patch('app.utils.agent.SearchToolkit') as mock_search_toolkit, \
patch('app.utils.agent.TerminalToolkit') as mock_terminal_toolkit, \
patch('app.utils.agent.FileWriteToolkit') as mock_file_toolkit:
patch('app.utils.agent.FileToolkit') as mock_file_toolkit:
# Mock toolkit instances - these should return tools directly from get_can_use_tools
mock_search_instance = MagicMock()

10
backend/uv.lock generated
View file

@ -1,5 +1,5 @@
version = 1
revision = 3
revision = 2
requires-python = "==3.10.16"
[[package]]
@ -240,7 +240,7 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "aiofiles", specifier = ">=24.1.0" },
{ name = "camel-ai", extras = ["eigent"], specifier = ">=0.2.76a1" },
{ name = "camel-ai", extras = ["eigent"], specifier = ">=0.2.76a2" },
{ name = "fastapi", specifier = ">=0.115.12" },
{ name = "fastapi-babel", specifier = ">=1.0.0" },
{ name = "httpx", extras = ["socks"], specifier = ">=0.28.1" },
@ -323,7 +323,7 @@ wheels = [
[[package]]
name = "camel-ai"
version = "0.2.76a1"
version = "0.2.76a2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama" },
@ -337,9 +337,9 @@ dependencies = [
{ name = "pydantic" },
{ name = "tiktoken" },
]
sdist = { url = "https://files.pythonhosted.org/packages/d8/3a/5da23ae7b56bbec65e84820d706db8eefbc0ec4c7387a6165fa737748c81/camel_ai-0.2.76a1.tar.gz", hash = "sha256:db9c8fdaa68fb0dd567239a1813f509b31fe966b56e9c39e6cbc20fe3c6314e9", size = 938171, upload-time = "2025-09-10T08:39:45.337Z" }
sdist = { url = "https://files.pythonhosted.org/packages/c8/53/9c099c68aec5525a1ad22aff547cdd01d260cd0183b3f2c75b8b55127ce2/camel_ai-0.2.76a2.tar.gz", hash = "sha256:57c4aef11dea378c4f0086c35102fdc0958810d25ba7922c5f56dbfff628f8c3", size = 940925, upload-time = "2025-09-15T12:40:39.283Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/be/ca/2f9e13a52687a5919a109a1b0fc68b2c8190eb97fe2ea613fd88fa4a4c29/camel_ai-0.2.76a1-py3-none-any.whl", hash = "sha256:4203eb3d06c2444814a2cc97b3d45782a2d985db98b7b044a0e519a314dae764", size = 1380027, upload-time = "2025-09-10T08:39:43.048Z" },
{ url = "https://files.pythonhosted.org/packages/ac/9d/36c44c0f5ea9dd554f578fcbd112406e86b8a66b82ae4e643c3d94901441/camel_ai-0.2.76a2-py3-none-any.whl", hash = "sha256:3d5ee106f7ea273914a7365244cc65816f7c25b116e831afd3e3c4487b5312f7", size = 1381936, upload-time = "2025-09-15T12:40:36.547Z" },
]
[package.optional-dependencies]

View file

@ -94,7 +94,7 @@ Eigent comes with a set of pre-configured agents, each designed for a specific d
**Equipped Toolkits:**
- FileWriteToolkit
- FileToolkit
- PPTXToolkit
- HumanToolkit
- MarkItDownToolkit
@ -137,7 +137,7 @@ This toolkit allows an agent to process audio files. It can take an audio file (
This toolkit provides comprehensive functions for interacting with Excel files (`.xlsx/.xls/. csv`). Agents can create new workbooks, add or delete worksheets, read data from specific cells or ranges, write data to the spreadsheet, and convert data into Markdown formatted table.
### [FileWriteToolkit](https://docs.camel-ai.org/reference/camel.toolkits.file_write_toolkit)
### [FileToolkit](https://docs.camel-ai.org/reference/camel.toolkits.file_write_toolkit)
*A toolkit for creating, writing, and modifying text in files.*