Merge branch 'etraut/next-turn-state-remove-override-context' into etraut/next-turn-state-core

This commit is contained in:
Eric Traut
2026-05-16 17:58:11 -07:00
2 changed files with 3 additions and 4 deletions

View File

@@ -281,10 +281,9 @@ impl CodexThread {
pub async fn update_turn_context_overrides(
&self,
overrides: CodexThreadTurnContextOverrides,
) -> ConstraintResult<ThreadConfigSnapshot> {
) -> ConstraintResult<()> {
let updates = self.turn_context_settings_update(overrides).await;
self.codex.session.update_settings(updates).await?;
Ok(self.config_snapshot().await)
self.codex.session.update_settings(updates).await
}
async fn turn_context_settings_update(