mirror of
https://github.com/openai/codex.git
synced 2026-12-01 00:20:48 +00:00
Fix goal processor after app-server split
This commit is contained in:
@@ -370,6 +370,7 @@ impl MessageProcessor {
|
||||
Arc::clone(&thread_manager),
|
||||
outgoing.clone(),
|
||||
Arc::clone(&config),
|
||||
Arc::clone(&thread_store),
|
||||
thread_state_manager.clone(),
|
||||
);
|
||||
let thread_processor = ThreadRequestProcessor::new(
|
||||
|
||||
@@ -6,6 +6,7 @@ pub(crate) struct ThreadGoalRequestProcessor {
|
||||
thread_manager: Arc<ThreadManager>,
|
||||
outgoing: Arc<OutgoingMessageSender>,
|
||||
config: Arc<Config>,
|
||||
thread_store: Arc<dyn ThreadStore>,
|
||||
thread_state_manager: ThreadStateManager,
|
||||
}
|
||||
|
||||
@@ -14,12 +15,14 @@ impl ThreadGoalRequestProcessor {
|
||||
thread_manager: Arc<ThreadManager>,
|
||||
outgoing: Arc<OutgoingMessageSender>,
|
||||
config: Arc<Config>,
|
||||
thread_store: Arc<dyn ThreadStore>,
|
||||
thread_state_manager: ThreadStateManager,
|
||||
) -> Self {
|
||||
Self {
|
||||
thread_manager,
|
||||
outgoing,
|
||||
config,
|
||||
thread_store,
|
||||
thread_state_manager,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user