Skip to content

Commit 0011c17

Browse files
committed
release 0281a0
1 parent 1ad0c5f commit 0011c17

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ body:
2626
attributes:
2727
label: What version of camel are you using?
2828
description: Run command `python3 -c 'print(__import__("camel").__version__)'` in your shell and paste the output here.
29-
placeholder: E.g., 0.2.80
29+
placeholder: E.g., 0.2.81a0
3030
validations:
3131
required: true
3232

camel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from camel.logger import disable_logging, enable_logging, set_log_level
1616

17-
__version__ = '0.2.80'
17+
__version__ = '0.2.81a0'
1818

1919
__all__ = [
2020
'__version__',

camel/agents/chat_agent.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3917,7 +3917,9 @@ async def _aexecute_tool(
39173917
# Fallback: synchronous call
39183918
# Use functools.partial to properly capture args
39193919
loop = asyncio.get_running_loop()
3920-
result = await loop.run_in_executor(None, functools.partial(tool, **args))
3920+
result = await loop.run_in_executor(
3921+
None, functools.partial(tool, **args)
3922+
)
39213923

39223924
except Exception as e:
39233925
# Capture the error message to prevent framework crash

camel/toolkits/function_tool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ async def async_call(self, *args: Any, **kwargs: Any) -> Any:
510510
# Use functools.partial to properly capture args/kwargs
511511
loop = asyncio.get_running_loop()
512512
return await loop.run_in_executor(
513-
_SYNC_TOOL_EXECUTOR, functools.partial(self.func, *args, **kwargs)
513+
_SYNC_TOOL_EXECUTOR,
514+
functools.partial(self.func, *args, **kwargs),
514515
)
515516

516517
@property

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
project = 'CAMEL'
2828
copyright = '2024, CAMEL-AI.org'
2929
author = 'CAMEL-AI.org'
30-
release = '0.2.80'
30+
release = '0.2.81a0'
3131

3232
html_favicon = (
3333
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "camel-ai"
7-
version = "0.2.80"
7+
version = "0.2.81a0"
88
description = "Communicative Agents for AI Society Study"
99
authors = [{ name = "CAMEL-AI.org" }]
1010
requires-python = ">=3.10,<3.15"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)