mirror of
https://github.com/openai/codex.git
synced 2026-11-19 23:05:23 +00:00
Save subagent and memory opt-ins through the app server (#43113)
## What changed Route the TUI's subagent and memory enable prompts through server config writes for new threads, leaving the current thread unchanged. Report success, configuration overrides, or failures after the write completes, and clarify the scope in the prompts. Write both `features.memories` and the legacy `features.memory_tool` key for compatibility with older app servers. ## Testing Extend tests to cover writes to the selected server config, preservation of current settings, legacy memory key updates, and managed configuration overrides. Update prompt snapshots and verify that confirmation emits the new save event. GitOrigin-RevId: ec331db675b38102851899a4aa878d6fe8e9606e
This commit is contained in:
1 parent
a31c18ab7a
commit
fc748ab8d5
14 files changed
+184
-149
No files matched your search
@@ -2408,6 +2408,10 @@ impl App {
|
||||
AppEvent::SaveExperimentalFeatures { thread_id, updates, response_tx } => {
|
||||
self.save_experimental_features(app_server, thread_id, updates, response_tx);
|
||||
}
|
||||
AppEvent::EnableFeatureForNewThreads(feature) => {
|
||||
self.enable_feature_for_new_threads(tui, app_server, feature)
|
||||
.await;
|
||||
}
|
||||
AppEvent::UpdateFeatureFlags { updates } => {
|
||||
self.update_feature_flags(app_server, updates).await;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user