Skip to content

Commit

Permalink
fix: Add max_retries to configs
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Jun 19, 2024
1 parent 3f4632e commit 63ffb34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/generator/openai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ temperature: 0.0
max_tokens: 256
stream: true
timeout: 60
max_retries: 3
system_prompt: ${..language.system_prompt}
prompt: ${..language.prompt}
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def openai_generator_params(
temperature=0.0,
stream=False,
timeout=60,
max_retries=3,
max_tokens=128,
system_prompt=system_prompt,
prompt=prompt,
Expand Down

0 comments on commit 63ffb34

Please sign in to comment.