mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +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 {
|
contributor.tools_for_step(ToolContributionInput {
|
||||||
session_store: &session.services.session_extension_data,
|
session_store: &session.services.session_extension_data,
|
||||||
thread_store: &session.services.thread_extension_data,
|
thread_store: &session.services.thread_extension_data,
|
||||||
turn_store: step_context.turn.extension_data.as_ref(),
|
|
||||||
starting_environments: &starting_environments,
|
starting_environments: &starting_environments,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -239,8 +239,6 @@ pub struct ToolContributionInput<'a> {
|
|||||||
pub session_store: &'a ExtensionData,
|
pub session_store: &'a ExtensionData,
|
||||||
/// Store scoped to this thread runtime.
|
/// Store scoped to this thread runtime.
|
||||||
pub thread_store: &'a ExtensionData,
|
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.
|
/// Selected environments that are still starting for this request.
|
||||||
pub starting_environments: &'a [Arc<dyn StartingEnvironment>],
|
pub starting_environments: &'a [Arc<dyn StartingEnvironment>],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user