File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
crates/chat-cli/src/api_client Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ impl ApiClient {
365365 let request = self
366366 . client
367367 . list_available_models ( )
368- . set_origin ( Some ( Origin :: AiEditor ) )
368+ . set_origin ( Some ( Origin :: KiroCli ) )
369369 . set_profile_arn ( self . profile . as_ref ( ) . map ( |p| p. arn . clone ( ) ) ) ;
370370 let mut paginator = request. into_paginator ( ) . send ( ) ;
371371
@@ -458,7 +458,7 @@ impl ApiClient {
458458 ) -> Result < amzn_codewhisperer_client:: operation:: get_usage_limits:: GetUsageLimitsOutput , ApiClientError > {
459459 self . client
460460 . get_usage_limits ( )
461- . set_origin ( Some ( amzn_codewhisperer_client:: types:: Origin :: AiEditor ) )
461+ . set_origin ( Some ( amzn_codewhisperer_client:: types:: Origin :: KiroCli ) )
462462 . send ( )
463463 . await
464464 . map_err ( ApiClientError :: GetUsageLimitsError )
@@ -543,7 +543,7 @@ impl ApiClient {
543543 match client
544544 . send_message ( )
545545 . conversation_state ( conversation_state)
546- . set_source ( Some ( QDeveloperOrigin :: AiEditor ) )
546+ . set_source ( Some ( QDeveloperOrigin :: KiroCli ) )
547547 . send ( )
548548 . await
549549 {
Original file line number Diff line number Diff line change @@ -960,7 +960,7 @@ impl From<UserInputMessage> for amzn_codewhisperer_streaming_client::types::User
960960 . set_user_input_message_context ( value. user_input_message_context . map ( Into :: into) )
961961 . set_user_intent ( value. user_intent . map ( Into :: into) )
962962 . set_model_id ( value. model_id )
963- . origin ( amzn_codewhisperer_streaming_client:: types:: Origin :: AiEditor )
963+ . origin ( amzn_codewhisperer_streaming_client:: types:: Origin :: KiroCli )
964964 . build ( )
965965 . expect ( "Failed to build UserInputMessage" )
966966 }
@@ -974,7 +974,7 @@ impl From<UserInputMessage> for amzn_qdeveloper_streaming_client::types::UserInp
974974 . set_user_input_message_context ( value. user_input_message_context . map ( Into :: into) )
975975 . set_user_intent ( value. user_intent . map ( Into :: into) )
976976 . set_model_id ( value. model_id )
977- . origin ( amzn_qdeveloper_streaming_client:: types:: Origin :: AiEditor )
977+ . origin ( amzn_qdeveloper_streaming_client:: types:: Origin :: KiroCli )
978978 . build ( )
979979 . expect ( "Failed to build UserInputMessage" )
980980 }
You can’t perform that action at this time.
0 commit comments