You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opendevin/core/config.py
+4-2
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ class LLMConfig:
33
33
aws_secret_access_key: The AWS secret access key.
34
34
aws_region_name: The AWS region name.
35
35
num_retries: The number of retries to attempt.
36
+
retry_multiplier: The multiplier for the exponential backoff.
36
37
retry_min_wait: The minimum time to wait between retries, in seconds. This is exponential backoff minimum. For models with very low limits, this can be set to 15-20.
37
38
retry_max_wait: The maximum time to wait between retries, in seconds. This is exponential backoff maximum.
38
39
timeout: The timeout for the API.
@@ -57,9 +58,10 @@ class LLMConfig:
57
58
aws_access_key_id: str|None=None
58
59
aws_secret_access_key: str|None=None
59
60
aws_region_name: str|None=None
60
-
num_retries: int=5
61
+
num_retries: int=10
62
+
retry_multiplier: float=2
61
63
retry_min_wait: int=3
62
-
retry_max_wait: int=60
64
+
retry_max_wait: int=300
63
65
timeout: int|None=None
64
66
max_message_chars: int=10_000# maximum number of characters in an observation's content when sent to the llm
0 commit comments