Skip to content

Commit 3cf9b5f

Browse files
Merge branch 'master' into lyh_tool_token
2 parents 3924ac5 + d873494 commit 3cf9b5f

File tree

94 files changed

+8437
-3291
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+8437
-3291
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
# Models API
1111
#===========================================
1212

13+
# Cerebras API (https://chat.cerebras.ai/)
14+
# CEREBRAS_API_KEY="Fill your API key here"
15+
1316
# OpenAI API (https://platform.openai.com/signup)
1417
# OPENAI_API_KEY="Fill your API key here"
1518

.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.79
29+
placeholder: E.g., 0.2.81a0
3030
validations:
3131
required: true
3232

.github/workflows/build_package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ jobs:
148148
CRYNUX_API_KEY: "${{ secrets.CRYNUX_API_KEY }}"
149149
NEBIUS_API_KEY: "${{ secrets.NEBIUS_API_KEY }}"
150150
COMETAPI_KEY: "${{ secrets.COMETAPI_KEY }}"
151+
CEREBRAS_API_KEY: "${{ secrets.CEREBRAS_API_KEY }}"
151152
run: |
152153
source test_venv/bin/activate
153154
pytest --fast-test-mode -m "not heavy_dependency" \

.github/workflows/pytest_package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
NEBIUS_API_KEY: "${{ secrets.NEBIUS_API_KEY }}"
9292
COMETAPI_KEY: "${{ secrets.COMETAPI_KEY }}"
9393
MINIMAX_API_KEY: "${{ secrets.MINIMAX_API_KEY }}"
94+
CEREBRAS_API_KEY: "${{ secrets.CEREBRAS_API_KEY }}"
9495
run: |
9596
source .venv/bin/activate
9697
uv pip install -e ".[all, dev, docs]"
@@ -179,6 +180,7 @@ jobs:
179180
AMD_API_KEY: "${{ secrets.AMD_API_KEY }}"
180181
COMETAPI_KEY: "${{ secrets.COMETAPI_KEY }}"
181182
MINIMAX_API_KEY: "${{ secrets.MINIMAX_API_KEY }}"
183+
CEREBRAS_API_KEY: "${{ secrets.CEREBRAS_API_KEY }}"
182184
run: |
183185
source .venv/bin/activate
184186
uv pip install -e ".[all, dev, docs]"
@@ -265,6 +267,7 @@ jobs:
265267
AMD_API_KEY: "${{ secrets.AMD_API_KEY }}"
266268
COMETAPI_KEY: "${{ secrets.COMETAPI_KEY }}"
267269
MINIMAX_API_KEY: "${{ secrets.MINIMAX_API_KEY }}"
270+
CEREBRAS_API_KEY: "${{ secrets.CEREBRAS_API_KEY }}"
268271
run: |
269272
source .venv/bin/activate
270273
uv pip install -e ".[all, dev, docs]"

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.79'
17+
__version__ = '0.2.81a0'
1818

1919
__all__ = [
2020
'__version__',

camel/agents/_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class ToolCallRequest(BaseModel):
2727
tool_name: str
2828
args: Dict[str, Any]
2929
tool_call_id: str
30+
extra_content: Optional[Dict[str, Any]] = None
3031

3132

3233
class ModelResponse(BaseModel):

0 commit comments

Comments
 (0)