Skip to content

Commit

Permalink
Use azure endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitsaamir committed Sep 19, 2024
1 parent 03322b1 commit 857fa44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/no_autogen_spec_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, llm_config: Dict):
elif llm_config.get("api_type") == "azure":
logging.debug("Using Azure API key")
self.client = instructor.from_openai(AzureOpenAI(
base_url=llm_config.get("base_url", ""),
azure_endpoint=llm_config.get("base_url", ""),
api_version=llm_config.get("api_version", ""),
azure_ad_token_provider=llm_config.get("azure_ad_token_provider"),
))
Expand Down

0 comments on commit 857fa44

Please sign in to comment.