Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/azure' into new_pre
Browse files Browse the repository at this point in the history
  • Loading branch information
LiChengxin007 committed Feb 6, 2024
2 parents 278ef4b + ccb04bc commit 6702d9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ai/backend/aidb/aidb.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,10 @@ def load_api_key(self, token_path):
# ApiHost = "https://apiserver.deep-thought.io/proxy"
ApiHost = CONFIG.ApiHost
elif in_use == 'Azure':
ApiKey = data[in_use]['ApiKey']
ApiKey = data[in_use]['AzureApiKey']
print('DeepBIAzureApiKey : ', ApiKey)
# ApiHost = "https://apiserver.deep-thought.io/proxy"
ApiHost = data[in_use]['ApiHost']
ApiHost = data[in_use]['AzureHost']
else:
ApiKey = data['OpenaiApiKey']
print('OpenaiApiKey : ', ApiKey)
Expand Down

0 comments on commit 6702d9b

Please sign in to comment.