mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-01 11:56:24 +02:00
update sk AzureChatCompletion from base_url to endpoint
This commit is contained in:
parent
a6346c7bce
commit
b6eb776190
3 changed files with 5 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ def make_sk_kernel():
|
|||
kernel.add_chat_service(
|
||||
"chat_completion",
|
||||
AzureChatCompletion(
|
||||
deployment_name=CONFIG.deployment_name, base_url=CONFIG.openai_base_url, api_key=CONFIG.openai_api_key
|
||||
deployment_name=CONFIG.deployment_name, endpoint=CONFIG.openai_base_url, api_key=CONFIG.openai_api_key
|
||||
),
|
||||
)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue