Skip to content

Commit

Permalink
Support 3.9 in pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox committed Oct 1, 2024
1 parent 8f5981e commit bd5773b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/service_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_search_client():
)


def get_openai_client(oai_config: AzureOpenAIModelConfiguration | OpenAIModelConfiguration):
def get_openai_client(oai_config: Union[AzureOpenAIModelConfiguration, OpenAIModelConfiguration]):
if "azure_deployment" in oai_config:
azure_token_provider = None
if not os.environ.get("AZURE_OPENAI_KEY"):
Expand Down

0 comments on commit bd5773b

Please sign in to comment.