mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 04:05:04 +00:00
add deployment_id to AzureOpenAI call per @itlackey
This commit is contained in:
parent
57ab2cc9da
commit
b85ed45504
1 changed files with 1 additions and 0 deletions
|
@ -494,6 +494,7 @@ def main(argv=None, input=None, output=None, force_git_root=None):
|
||||||
api_key=args.openai_api_key,
|
api_key=args.openai_api_key,
|
||||||
azure_endpoint=args.openai_api_base,
|
azure_endpoint=args.openai_api_base,
|
||||||
api_version=args.openai_api_version,
|
api_version=args.openai_api_version,
|
||||||
|
azure_deployment=args.openai_api_deployment_id,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
kwargs = dict()
|
kwargs = dict()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue