openai: add retry logic to get_chat_completions()

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-21 20:56:12 -08:00
parent af45c170b5
commit ca84e665aa
8 changed files with 17 additions and 1 deletions

View File

@@ -33,7 +33,8 @@ dependencies = [
"pydantic~=2.10.5",
"pyloudnorm~=0.1.1",
"resampy~=0.4.3",
"soxr~=0.5.0"
"soxr~=0.5.0",
"tenacity~=9.0.0"
]
[project.urls]