mirror of
https://github.com/openai/codex.git
synced 2026-11-27 15:30:27 +00:00
Stop client from being state carrier (#10595)
I'd like to make client session wide. This requires shedding all random state it has to carry.
This commit is contained in:
1 parent
49dd67a260
commit
7f20357611
15 files changed
+127
-176
No files matched your search
@@ -66,7 +66,7 @@ impl SessionTask for UserShellCommandTask {
|
||||
.counter("codex.task.user_shell", 1, &[]);
|
||||
|
||||
let event = EventMsg::TurnStarted(TurnStartedEvent {
|
||||
model_context_window: turn_context.client.get_model_context_window(),
|
||||
model_context_window: turn_context.model_context_window(),
|
||||
collaboration_mode_kind: turn_context.collaboration_mode.mode,
|
||||
});
|
||||
let session = session.clone_session();
|
||||
|
||||
Reference in new issue
Block a user