fix(openai): update Azure API version and improve error handling

This commit is contained in:
Gianluigi Conti
2025-09-15 22:44:28 +02:00
parent 098d67cd8c
commit 35c0177729
3 changed files with 13 additions and 17 deletions

View File

@ -1,3 +1,3 @@
export const DEFAULT_MODEL = "gpt-3.5-turbo";
export const DEFAULT_MAX_TOKENS = 1024;
export const DEFAULT_AZURE_API_VERSION = "2025-01-01-preview";
export const DEFAULT_AZURE_API_VERSION = "2024-10-21";