Skip to content

Commit e8c6b9e

Browse files
committed
update version
1 parent e5632db commit e8c6b9e

File tree

7 files changed

+34
-38
lines changed

7 files changed

+34
-38
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.80a2
29+
placeholder: E.g., 0.2.80a3
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.80a2'
17+
__version__ = '0.2.80a3'
1818

1919
__all__ = [
2020
'__version__',

camel/toolkits/function_tool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def _create_mol(name, field):
144144
return create_model(name, **field)
145145

146146
model = _create_mol(to_pascal(func.__name__), fields)
147-
model.model_rebuild()
148147
parameters_dict = get_pydantic_object_schema(model)
149148

150149
# The `"title"` is generated by `model.model_json_schema()`

camel/utils/mcp.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ def _is_pydantic_serializable(type_annotation: Any) -> Tuple[bool, str]:
7878

7979
# Try to create a simple pydantic model with this type
8080
try:
81-
test_model = create_model(
82-
"TestModel", test_field=(type_annotation, ...)
83-
)
84-
test_model.model_rebuild()
81+
create_model("TestModel", test_field=(type_annotation, ...))
8582
# If model creation succeeds, the type is serializable
8683
return True, ""
8784
except (PydanticSchemaGenerationError, TypeError, ValueError) as e:

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.80a2'
30+
release = '0.2.80a3'
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.80a2"
7+
version = "0.2.80a3"
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: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)