File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ impl StreamingClient {
175
175
&& e. raw_response ( ) . is_some_and ( |resp| resp. status ( ) . as_u16 ( ) == 500 )
176
176
&& e. as_service_error ( ) . is_some_and ( |err| {
177
177
err. meta ( ) . message ( )
178
- == Some ( "Encountered unexpectedly high load when processing the request, please try again." . into ( ) )
178
+ == Some ( "Encountered unexpectedly high load when processing the request, please try again." )
179
179
} ) ;
180
180
if is_quota_breach {
181
181
Err ( ApiClientError :: QuotaBreach ( "quota has reached its limit" ) )
Original file line number Diff line number Diff line change @@ -622,6 +622,8 @@ impl ChatContext {
622
622
} )
623
623
. or_else ( || Some ( DEFAULT_MODEL_ID . to_owned ( ) ) ) ,
624
624
} ;
625
+
626
+ print ! ( "curretn valid: {:?}" , valid_model_id) ;
625
627
let conversation_state = if resume_conversation {
626
628
let prior = std:: env:: current_dir ( )
627
629
. ok ( )
@@ -639,6 +641,7 @@ impl ChatContext {
639
641
cs. tool_manager = tool_manager;
640
642
cs. update_state ( true ) . await ;
641
643
cs. enforce_tool_use_history_invariants ( ) ;
644
+ print ! ( "resume valid: {:?}" , cs. current_model_id) ;
642
645
cs
643
646
} else {
644
647
ConversationState :: new (
You can’t perform that action at this time.
0 commit comments