@@ -35,7 +35,7 @@ def test_no_user_headers_preserves_class_defaults(self):
3535 with patch .dict (os .environ , LLMGW_ENV , clear = True ):
3636 chat = UiPathChat (model = "gpt-4o" , settings = LLMGatewaySettings ())
3737 headers = chat .uipath_sync_client .headers
38- assert headers .get ("x-uipath-llmgateway-timeoutseconds" ) == "295 "
38+ assert headers .get ("x-uipath-llmgateway-timeoutseconds" ) == "895 "
3939 assert headers .get ("x-uipath-llmgateway-allowfull4xxresponse" ) == "false"
4040
4141 def test_user_headers_do_not_remove_class_defaults (self ):
@@ -46,7 +46,7 @@ def test_user_headers_do_not_remove_class_defaults(self):
4646 default_headers = {"x-my-custom" : "value" },
4747 )
4848 headers = chat .uipath_sync_client .headers
49- assert headers .get ("x-uipath-llmgateway-timeoutseconds" ) == "295 "
49+ assert headers .get ("x-uipath-llmgateway-timeoutseconds" ) == "895 "
5050 assert headers .get ("x-uipath-llmgateway-allowfull4xxresponse" ) == "false"
5151 assert headers .get ("x-my-custom" ) == "value"
5252
@@ -69,6 +69,6 @@ def test_async_client_also_merges(self):
6969 default_headers = {"x-my-custom" : "async-value" },
7070 )
7171 headers = chat .uipath_async_client .headers
72- assert headers .get ("x-uipath-llmgateway-timeoutseconds" ) == "295 "
72+ assert headers .get ("x-uipath-llmgateway-timeoutseconds" ) == "895 "
7373 assert headers .get ("x-uipath-llmgateway-allowfull4xxresponse" ) == "false"
7474 assert headers .get ("x-my-custom" ) == "async-value"
0 commit comments