13
13
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========
14
14
from __future__ import annotations
15
15
16
- from typing import Dict , List , Optional , Union
16
+ from typing import Any , Dict , List , Optional , Union
17
17
18
18
from camel .configs .base_config import BaseConfig
19
19
@@ -61,7 +61,7 @@ class QwenConfig(BaseConfig):
61
61
call. It can contain one or more tool objects. During a function
62
62
call process, the model will select one tool from the array.
63
63
(default: :obj:`None`)
64
- extra_body (Optional[Dict[str, str ]], optional): Additional parameters
64
+ extra_body (Optional[Dict[str, Any ]], optional): Additional parameters
65
65
to be sent to the Qwen API. If you want to enable internet search,
66
66
you can set this parameter to `{"enable_search": True}`.
67
67
(default: :obj:`None`)
@@ -78,7 +78,7 @@ class QwenConfig(BaseConfig):
78
78
max_tokens : Optional [int ] = None
79
79
seed : Optional [int ] = None
80
80
stop : Optional [Union [str , List ]] = None
81
- extra_body : Optional [Dict [str , str ]] = None
81
+ extra_body : Optional [Dict [str , Any ]] = None
82
82
83
83
def __init__ (self , include_usage : bool = True , ** kwargs ):
84
84
super ().__init__ (** kwargs )
0 commit comments