File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1152,6 +1152,7 @@ async fn submission_loop(
1152
1152
if let Err ( items) = sess. inject_input ( items) {
1153
1153
// Derive a fresh TurnContext for this turn using the provided overrides.
1154
1154
let provider = turn_context. client . get_provider ( ) ;
1155
+ let auth_manager = turn_context. client . get_auth_manager ( ) ;
1155
1156
1156
1157
// Derive a model family for the requested model; fall back to the session's.
1157
1158
let model_family = find_family_for_model ( & model)
@@ -1166,7 +1167,7 @@ async fn submission_loop(
1166
1167
// Reuse the same provider and session id; auth defaults to env/API key.
1167
1168
let client = ModelClient :: new (
1168
1169
Arc :: new ( per_turn_config) ,
1169
- None ,
1170
+ auth_manager ,
1170
1171
provider,
1171
1172
effort,
1172
1173
summary,
You can’t perform that action at this time.
0 commit comments