File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
fig_api_client/src/clients Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ use crate::{
1515 Error ,
1616} ;
1717
18- // TODO(bskiser): Update timeout
19- const DEFAULT_TIMEOUT_DURATION : Duration = Duration :: from_millis ( 60100 ) ;
18+ // TODO(bskiser): confirm timeout is updated to an appropriate value?
19+ const DEFAULT_TIMEOUT_DURATION : Duration = Duration :: from_secs ( 60 * 5 ) ;
2020
2121pub ( crate ) fn timeout_config ( ) -> TimeoutConfig {
2222 let timeout = fig_settings:: settings:: get_int ( "api.timeout" )
@@ -35,7 +35,7 @@ pub(crate) fn timeout_config() -> TimeoutConfig {
3535
3636pub ( crate ) fn stalled_stream_protection_config ( ) -> StalledStreamProtectionConfig {
3737 StalledStreamProtectionConfig :: enabled ( )
38- . grace_period ( Duration :: from_secs ( 100 ) )
38+ . grace_period ( Duration :: from_secs ( 60 * 5 ) )
3939 . build ( )
4040}
4141
Original file line number Diff line number Diff line change @@ -444,6 +444,7 @@ Hi, I'm <g>Amazon Q</g>. Ask me anything.
444444 style:: SetForegroundColor ( Color :: Blue ) ,
445445 style:: Print ( format!( "\n {name}: " ) ) ,
446446 style:: SetForegroundColor ( Color :: Reset ) ,
447+ cursor:: Hide ,
447448 ) ?;
448449 self . spinner = Some ( Spinner :: new ( Spinners :: Dots , "Thinking..." . to_string ( ) ) ) ;
449450 }
You can’t perform that action at this time.
0 commit comments