@@ -62,7 +62,7 @@ def _anthropic_client(
6262 api_key = "PLACEHOLDER" ,
6363 base_url = str (self .uipath_sync_client .base_url ),
6464 default_headers = dict (self .uipath_sync_client .headers ),
65- max_retries = 1 , # handled by the UiPathBaseLLMClient
65+ max_retries = 0 , # handled by the UiPathBaseLLMClient
6666 timeout = None , # handled by the UiPathBaseLLMClient
6767 http_client = self .uipath_sync_client ,
6868 )
@@ -74,7 +74,7 @@ def _anthropic_client(
7474 base_url = str (self .uipath_sync_client .base_url ),
7575 default_headers = dict (self .uipath_sync_client .headers ),
7676 timeout = None , # handled by the UiPathBaseLLMClient
77- max_retries = 1 , # handled by the UiPathBaseLLMClient
77+ max_retries = 0 , # handled by the UiPathBaseLLMClient
7878 http_client = self .uipath_sync_client ,
7979 )
8080 case "awsbedrock" :
@@ -85,7 +85,7 @@ def _anthropic_client(
8585 base_url = str (self .uipath_sync_client .base_url ),
8686 default_headers = dict (self .uipath_sync_client .headers ),
8787 timeout = None , # handled by the UiPathBaseLLMClient
88- max_retries = 1 , # handled by the UiPathBaseLLMClient
88+ max_retries = 0 , # handled by the UiPathBaseLLMClient
8989 http_client = self .uipath_sync_client ,
9090 )
9191 case "anthropic" :
@@ -94,7 +94,7 @@ def _anthropic_client(
9494 base_url = str (self .uipath_sync_client .base_url ),
9595 default_headers = dict (self .uipath_sync_client .headers ),
9696 timeout = None , # handled by the UiPathBaseLLMClient
97- max_retries = 1 , # handled by the UiPathBaseLLMClient
97+ max_retries = 0 , # handled by the UiPathBaseLLMClient
9898 http_client = self .uipath_sync_client ,
9999 )
100100
@@ -108,7 +108,7 @@ def _async_anthropic_client(
108108 api_key = "PLACEHOLDER" ,
109109 base_url = str (self .uipath_async_client .base_url ),
110110 default_headers = dict (self .uipath_async_client .headers ),
111- max_retries = 1 , # handled by the UiPathBaseLLMClient
111+ max_retries = 0 , # handled by the UiPathBaseLLMClient
112112 timeout = None , # handled by the UiPathBaseLLMClient
113113 http_client = self .uipath_async_client ,
114114 )
@@ -120,7 +120,7 @@ def _async_anthropic_client(
120120 base_url = str (self .uipath_async_client .base_url ),
121121 default_headers = dict (self .uipath_async_client .headers ),
122122 timeout = None , # handled by the UiPathBaseLLMClient
123- max_retries = 1 , # handled by the UiPathBaseLLMClient
123+ max_retries = 0 , # handled by the UiPathBaseLLMClient
124124 http_client = self .uipath_async_client ,
125125 )
126126 case "awsbedrock" :
@@ -131,7 +131,7 @@ def _async_anthropic_client(
131131 base_url = str (self .uipath_async_client .base_url ),
132132 default_headers = dict (self .uipath_async_client .headers ),
133133 timeout = None , # handled by the UiPathBaseLLMClient
134- max_retries = 1 , # handled by the UiPathBaseLLMClient
134+ max_retries = 0 , # handled by the UiPathBaseLLMClient
135135 http_client = self .uipath_async_client ,
136136 )
137137 case _:
@@ -140,7 +140,7 @@ def _async_anthropic_client(
140140 base_url = str (self .uipath_async_client .base_url ),
141141 default_headers = dict (self .uipath_async_client .headers ),
142142 timeout = None , # handled by the UiPathBaseLLMClient
143- max_retries = 1 , # handled by the UiPathBaseLLMClient
143+ max_retries = 0 , # handled by the UiPathBaseLLMClient
144144 http_client = self .uipath_async_client ,
145145 )
146146
0 commit comments