Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions camel/configs/openai_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ class ChatGPTConfig(BaseConfig):
parallel_tool_calls (bool, optional): A parameter specifying whether
the model should call tools in parallel or not.
(default: :obj:`None`)
extra_headers: Optional[Dict[str, str]]: Extra headers to use for the
model. (default: :obj:`None`)
"""

temperature: Optional[float] = None
Expand All @@ -120,6 +122,7 @@ class ChatGPTConfig(BaseConfig):
tool_choice: Optional[Union[Dict[str, str], str]] = None
reasoning_effort: Optional[str] = None
parallel_tool_calls: Optional[bool] = None
extra_headers: Optional[Dict[str, str]] = None


OPENAI_API_PARAMS = {param for param in ChatGPTConfig.model_fields.keys()}
1 change: 1 addition & 0 deletions camel/models/azure_openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class AzureOpenAIModel(BaseModelBackend):
environment variable or default to 180 seconds.
(default: :obj:`None`)


References:
https://learn.microsoft.com/en-us/azure/ai-services/openai/
"""
Expand Down