Feat: support azure openai for temporary (#101)

This commit is contained in:
John Wang 2023-05-19 13:24:45 +08:00 • committed by GitHub
commit f68b05d5ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 350 additions and 109 deletions

View file

@ -55,10 +55,8 @@ export type Member = Pick<UserProfileResponse, 'id' | 'name' | 'email' | 'last_l
}
export type ProviderAzureToken = {
azure_api_base: string
azure_api_key: string
azure_api_type: string
azure_api_version: string
openai_api_base: string
openai_api_key: string
}
export type Provider = {
provider_name: string