add support for gpt5 and azure gpt5 series (#3136)

This commit is contained in:
Shuchang Zheng
2025-08-07 15:12:47 -07:00
committed by GitHub
parent 149cea6893
commit e356d9fea0
2 changed files with 125 additions and 0 deletions

View File

@@ -215,6 +215,27 @@ class Settings(BaseSettings):
AZURE_O3_API_BASE: str | None = None
AZURE_O3_API_VERSION: str = "2025-01-01-preview"
# AZURE gpt-5
ENABLE_AZURE_GPT5: bool = False
AZURE_GPT5_DEPLOYMENT: str = "gpt-5"
AZURE_GPT5_API_KEY: str | None = None
AZURE_GPT5_API_BASE: str | None = None
AZURE_GPT5_API_VERSION: str = "2025-04-01-preview"
# AZURE gpt-5 mini
ENABLE_AZURE_GPT5_MINI: bool = False
AZURE_GPT5_MINI_DEPLOYMENT: str = "gpt-5-mini"
AZURE_GPT5_MINI_API_KEY: str | None = None
AZURE_GPT5_MINI_API_BASE: str | None = None
AZURE_GPT5_MINI_API_VERSION: str = "2025-04-01-preview"
# AZURE gpt-5 nano
ENABLE_AZURE_GPT5_NANO: bool = False
AZURE_GPT5_NANO_DEPLOYMENT: str = "gpt-5-nano"
AZURE_GPT5_NANO_API_KEY: str | None = None
AZURE_GPT5_NANO_API_BASE: str | None = None
AZURE_GPT5_NANO_API_VERSION: str = "2025-04-01-preview"
# GEMINI
GEMINI_API_KEY: str | None = None