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

enhance: codespell update and new version release (#3415)

Wendong-Fanab697538d360
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index dbfc89390..6efc975e3 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -26,7 +26,7 @@ body:
attributes:
label: What version of camel are you using?
description: Run command `python3 -c 'print(__import__("camel").__version__)'` in your shell and paste the output here.
- placeholder: E.g., 0.2.79a2
+ placeholder: E.g., 0.2.79
validations:
required: true
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
deleted file mode 100644
index d73fd1735..000000000
--- a/.github/workflows/codespell.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-# Codespell configuration is within pyproject.toml
----
-name: Codespell
-
-on:
- push:
- branches: [master]
- paths-ignore:
- - "docs/**"
- - "**/*.md"
- - "LICENSE"
- pull_request:
- branches: [master]
- paths-ignore:
- - "docs/**"
- - "**/*.md"
- - "LICENSE"
-
-permissions:
- contents: read
-
-jobs:
- codespell:
- name: Check for spelling errors
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- - name: Annotate locations with typos
- uses: codespell-project/codespell-problem-matcher@v1
- - name: Codespell
- uses: codespell-project/actions-codespell@v2
diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml
index 5aca464f1..f95a6a747 100644
--- a/.github/workflows/pre_commit.yml
+++ b/.github/workflows/pre_commit.yml
@@ -4,14 +4,14 @@ on:
push:
branches: [ "master", "qa" ]
paths-ignore:
- - "docs/**"
- - "**/*.md"
+ - "docs/reference/**"
+ - "docs/**/*.rst"
- "LICENSE"
pull_request:
branches: [ "master", "qa" ]
paths-ignore:
- - "docs/**"
- - "**/*.md"
+ - "docs/reference/**"
+ - "docs/**/*.rst"
- "LICENSE"
jobs:
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 38fa0cf6c..9a73c5955 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -33,6 +33,6 @@ repos:
rev: v2.4.1
hooks:
- id: codespell
- exclude: ^(examples/usecases/|docs/cookbooks/) # Ignore files under examples/usecases and docs/cookbooks
+ exclude: ^(docs/reference/|docs/.*\.rst$) # Ignore auto-generated content only
additional_dependencies:
- tomli # for python_version < '3.11'
\ No newline at end of file
diff --git a/camel/__init__.py b/camel/__init__.py
index abd073218..e283a0385 100644
--- a/camel/__init__.py
+++ b/camel/__init__.py
@@ -14,7 +14,7 @@
from camel.logger import disable_logging, enable_logging, set_log_level
-__version__ = '0.2.79a2'
+__version__ = '0.2.79'
__all__ = [
'__version__',
diff --git a/docs/conf.py b/docs/conf.py
index be582d646..789c5e3dc 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,7 +27,7 @@ sys.path.insert(0, os.path.abspath('..'))
project = 'CAMEL'
copyright = '2024, CAMEL-AI.org'
author = 'CAMEL-AI.org'
-release = '0.2.79a2'
+release = '0.2.79'
html_favicon = (
'https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'
diff --git a/examples/usecases/aci_mcp/env.example b/examples/usecases/aci_mcp/env.example
index 955eaec78..3e3f0a69b 100644
--- a/examples/usecases/aci_mcp/env.example
+++ b/examples/usecases/aci_mcp/env.example
@@ -14,7 +14,7 @@
GEMINI_API_KEY="YOUR_GEMINI_API_KEY_HERE"
# --- ACI aipolabs app mcp server ---
-# Required for using ACI.dev tools via the MCP (Model Contex Protocol) server.
+# Required for using ACI.dev tools via the MCP (Model Context Protocol) server.
# How to get:
# configure your apps and get your aci key at - https://platform.aci.dev/apps
# Notes:
diff --git a/pyproject.toml b/pyproject.toml
index 055871eae..2bfdce08f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "camel-ai"
-version = "0.2.79a2"
+version = "0.2.79"
description = "Communicative Agents for AI Society Study"
authors = [{ name = "CAMEL-AI.org" }]
requires-python = ">=3.10,<3.15"
@@ -667,8 +667,8 @@ ignore_missing_imports = true
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
# the .py file needs to be listed twice since pre-commit and codespell treat
# that path differently.
-skip = '.git*,*.pdf,*.svg,*.lock,*.css,examples/toolkits/semantic_scholar_toolkit.py,./examples/toolkits/semantic_scholar_toolkit.py,examples/usecases,./examples/usecases'
+skip = '.git*,*.pdf,*.svg,*.lock,*.css,examples/toolkits/semantic_scholar_toolkit.py,./examples/toolkits/semantic_scholar_toolkit.py'
check-hidden = true
# Ignore long lines as usually some kind of base64 encodings e.g. in ipynb
ignore-regex = '^\s*"image/\S+": ".*|^.{300,}|\b(NotIn|Unsupport)\b'
-ignore-words-list = 'ans,datas,rouge,doubleClick,OCE,ACI,aci,Pinter,SoM,'
+ignore-words-list = 'ans,datas,rouge,doubleClick,OCE,ACI,aci,Pinter,SoM,checkin,'
diff --git a/uv.lock b/uv.lock
index 2f22d3ac4..c32f97f9b 100644
--- a/uv.lock
+++ b/uv.lock
@@ -790,7 +790,7 @@ wheels = [
[[package]]
name = "camel-ai"
-version = "0.2.79a2"
+version = "0.2.79"
source = { editable = "." }
dependencies = [
{ name = "astor" },