mirror of https://github.com/langgenius/dify.git
feat: optimize azure default openai_api_base
This commit is contained in:
parent
2b4030b7ba
commit
1ef7e74f09
|
|
@ -54,7 +54,7 @@ class AzureProvider(BaseProvider):
|
|||
config = {
|
||||
'openai_api_type': 'azure',
|
||||
'openai_api_version': '2023-03-15-preview',
|
||||
'openai_api_base': 'https://foo.microsoft.com/bar',
|
||||
'openai_api_base': 'https://<your-domain-prefix>.openai.azure.com/',
|
||||
'openai_api_key': ''
|
||||
}
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ class AzureProvider(BaseProvider):
|
|||
config = {
|
||||
'openai_api_type': 'azure',
|
||||
'openai_api_version': '2023-03-15-preview',
|
||||
'openai_api_base': 'https://foo.microsoft.com/bar',
|
||||
'openai_api_base': 'https://<your-domain-prefix>.openai.azure.com/',
|
||||
'openai_api_key': ''
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue