File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ class ChatGPTConfig(BaseConfig):
104104 parallel_tool_calls (bool, optional): A parameter specifying whether
105105 the model should call tools in parallel or not.
106106 (default: :obj:`None`)
107+ extra_headers: Optional[Dict[str, str]]: Extra headers to use for the
108+ model. (default: :obj:`None`)
107109 """
108110
109111 temperature : Optional [float ] = None
@@ -120,6 +122,7 @@ class ChatGPTConfig(BaseConfig):
120122 tool_choice : Optional [Union [Dict [str , str ], str ]] = None
121123 reasoning_effort : Optional [str ] = None
122124 parallel_tool_calls : Optional [bool ] = None
125+ extra_headers : Optional [Dict [str , str ]] = None
123126
124127
125128OPENAI_API_PARAMS = {param for param in ChatGPTConfig .model_fields .keys ()}
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ class AzureOpenAIModel(BaseModelBackend):
6262 environment variable or default to 180 seconds.
6363 (default: :obj:`None`)
6464
65+
6566 References:
6667 https://learn.microsoft.com/en-us/azure/ai-services/openai/
6768 """
You can’t perform that action at this time.
0 commit comments