Skip to content

Commit 4a2945e

Browse files
authored
fix: Qwen config extra_body type (#2230)
1 parent 9f18a9c commit 4a2945e

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
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.45
29+
placeholder: E.g., 0.2.46
3030
validations:
3131
required: true
3232

camel/__init__.py

+1-1
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.45'
17+
__version__ = '0.2.46'
1818

1919
__all__ = [
2020
'__version__',

camel/configs/qwen_config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========
1414
from __future__ import annotations
1515

16-
from typing import Dict, List, Optional, Union
16+
from typing import Any, Dict, List, Optional, Union
1717

1818
from camel.configs.base_config import BaseConfig
1919

@@ -61,7 +61,7 @@ class QwenConfig(BaseConfig):
6161
call. It can contain one or more tool objects. During a function
6262
call process, the model will select one tool from the array.
6363
(default: :obj:`None`)
64-
extra_body (Optional[Dict[str, str]], optional): Additional parameters
64+
extra_body (Optional[Dict[str, Any]], optional): Additional parameters
6565
to be sent to the Qwen API. If you want to enable internet search,
6666
you can set this parameter to `{"enable_search": True}`.
6767
(default: :obj:`None`)
@@ -78,7 +78,7 @@ class QwenConfig(BaseConfig):
7878
max_tokens: Optional[int] = None
7979
seed: Optional[int] = None
8080
stop: Optional[Union[str, List]] = None
81-
extra_body: Optional[Dict[str, str]] = None
81+
extra_body: Optional[Dict[str, Any]] = None
8282

8383
def __init__(self, include_usage: bool = True, **kwargs):
8484
super().__init__(**kwargs)

docs/conf.py

+1-1
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.45'
30+
release = '0.2.46'
3131

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

docs/cookbooks/loong/batched_single_step_env.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"metadata": {},
3636
"outputs": [],
3737
"source": [
38-
"%pip install camel-ai[all]==0.2.45"
38+
"%pip install camel-ai[all]==0.2.46"
3939
]
4040
},
4141
{

docs/cookbooks/loong/multi_step_rl.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"metadata": {},
3131
"outputs": [],
3232
"source": [
33-
"%pip install camel-ai[all]==0.2.45"
33+
"%pip install camel-ai[all]==0.2.46"
3434
]
3535
},
3636
{

docs/cookbooks/loong/single_step_env.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"metadata": {},
3434
"outputs": [],
3535
"source": [
36-
"%pip install camel-ai[all]==0.2.45"
36+
"%pip install camel-ai[all]==0.2.46"
3737
]
3838
},
3939
{

docs/key_modules/loaders.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -340,14 +340,14 @@ response = jina_reader.read_content("https://docs.camel-ai.org/")
340340
print(response)
341341
```
342342
```markdown
343-
>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.45 documentation
343+
>>>Welcome to CAMEL’s documentation! — CAMEL 0.2.46 documentation
344344
===============
345345

346346
[Skip to main content](https://docs.camel-ai.org/#main-content)
347347

348348
Back to top Ctrl+K
349349

350-
[![Image 1](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png) ![Image 2](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png)CAMEL 0.2.45](https://docs.camel-ai.org/#)
350+
[![Image 1](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png) ![Image 2](https://raw.githubusercontent.com/camel-ai/camel/master/misc/logo_light.png)CAMEL 0.2.46](https://docs.camel-ai.org/#)
351351

352352
Search Ctrl+K
353353

pyproject.toml

+1-1
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.45"
7+
version = "0.2.46"
88
description = "Communicative Agents for AI Society Study"
99
authors = [{ name = "CAMEL-AI.org" }]
1010
requires-python = ">=3.10,<3.13"

uv.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)