File tree Expand file tree Collapse file tree 2 files changed +1
-224
lines changed
crates/chat-cli/src/api_client Expand file tree Collapse file tree 2 files changed +1
-224
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ mod error;
5
5
pub mod model;
6
6
mod opt_out;
7
7
pub mod profile;
8
- mod retry_classifier;
9
8
pub mod send_message_output;
10
9
11
10
use std:: sync:: Arc ;
@@ -148,7 +147,6 @@ impl ApiClient {
148
147
. app_name ( app_name ( ) )
149
148
. endpoint_url ( endpoint. url ( ) )
150
149
. stalled_stream_protection ( stalled_stream_protection_config ( ) )
151
- . retry_classifier ( retry_classifier:: QCliRetryClassifier :: new ( ) )
152
150
. build ( ) ,
153
151
) ) ;
154
152
} ,
@@ -162,7 +160,6 @@ impl ApiClient {
162
160
. app_name ( app_name ( ) )
163
161
. endpoint_url ( endpoint. url ( ) )
164
162
. stalled_stream_protection ( stalled_stream_protection_config ( ) )
165
- . retry_classifier ( retry_classifier:: QCliRetryClassifier :: new ( ) )
166
163
. build ( ) ,
167
164
) ) ;
168
165
} ,
@@ -499,7 +496,7 @@ fn timeout_config(database: &Database) -> TimeoutConfig {
499
496
}
500
497
501
498
fn retry_config ( ) -> RetryConfig {
502
- RetryConfig :: adaptive ( ) . with_max_attempts ( 3 )
499
+ RetryConfig :: standard ( ) . with_max_attempts ( 1 )
503
500
}
504
501
505
502
pub fn stalled_stream_protection_config ( ) -> StalledStreamProtectionConfig {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments