mirror of
https://github.com/openai/codex.git
synced 2026-09-04 15:08:45 +00:00
core: trim deferred tool contribution input
This commit is contained in:
@@ -266,7 +266,6 @@ pub(crate) fn extension_tool_executors(
|
||||
contributor.tools_for_step(ToolContributionInput {
|
||||
session_store: &session.services.session_extension_data,
|
||||
thread_store: &session.services.thread_extension_data,
|
||||
turn_store: step_context.turn.extension_data.as_ref(),
|
||||
starting_environments: &starting_environments,
|
||||
})
|
||||
})
|
||||
|
||||
@@ -239,8 +239,6 @@ pub struct ToolContributionInput<'a> {
|
||||
pub session_store: &'a ExtensionData,
|
||||
/// Store scoped to this thread runtime.
|
||||
pub thread_store: &'a ExtensionData,
|
||||
/// Store scoped to this turn runtime.
|
||||
pub turn_store: &'a ExtensionData,
|
||||
/// Selected environments that are still starting for this request.
|
||||
pub starting_environments: &'a [Arc<dyn StartingEnvironment>],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user