fix: support azure

This commit is contained in:
Hk-Gosuto
2023-12-25 19:32:18 +08:00
parent fa2e046285
commit 24de1bb77a
7 changed files with 77 additions and 30 deletions

View File

@@ -23,7 +23,7 @@ declare global {
CUSTOM_MODELS?: string; // to control custom models
// azure only
AZURE_URL?: string; // https://{azure-url}/openai/deployments/{deploy-name}
AZURE_URL?: string; // https://{azure-url}/openai/deployments
AZURE_API_KEY?: string;
AZURE_API_VERSION?: string;