Feat/open azure validate (#163)
This commit is contained in:
parent
1c5f63de7e
commit
6da5e54180
2 changed files with 26 additions and 8 deletions
|
|
@ -157,7 +157,7 @@ class ProviderTokenValidateApi(Resource):
|
|||
args = parser.parse_args()
|
||||
|
||||
# todo: remove this when the provider is supported
|
||||
if provider in [ProviderName.ANTHROPIC.value, ProviderName.AZURE_OPENAI.value, ProviderName.COHERE.value,
|
||||
if provider in [ProviderName.ANTHROPIC.value, ProviderName.COHERE.value,
|
||||
ProviderName.HUGGINGFACEHUB.value]:
|
||||
return {'result': 'success', 'warning': 'MOCK: This provider is not supported yet.'}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue