Skip to content

Commit 3b92db7

Browse files
committed
revert move
1 parent bd8fa9f commit 3b92db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optillm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import secrets
55
from flask import Flask, request, jsonify
66
from openai import AzureOpenAI, OpenAI
7-
from azure.identity import DefaultAzureCredential, get_bearer_token_provider
87

98
# Import approach modules
109
from mcts import chat_with_mcts
@@ -42,6 +41,7 @@
4241
azure_endpoint=AZURE_ENDPOINT,
4342
)
4443
else:
44+
from azure.identity import DefaultAzureCredential, get_bearer_token_provider
4545
azure_credential = DefaultAzureCredential()
4646
token_provider = get_bearer_token_provider(azure_credential, "https://cognitiveservices.azure.com/.default")
4747
default_client = AzureOpenAI(

0 commit comments

Comments
 (0)