fix(providers): disable Azure SDK retries by default

Made-with: Cursor
This commit is contained in:
Xubin Ren
2026-04-04 12:36:45 +08:00
committed by Xubin Ren
parent dbdf7e5955
commit 7229a81594
2 changed files with 14 additions and 0 deletions
@@ -58,6 +58,7 @@ class AzureOpenAIProvider(LLMProvider):
api_key=api_key,
base_url=base_url,
default_headers={"x-session-affinity": uuid.uuid4().hex},
max_retries=0,
)
# ------------------------------------------------------------------