initial_history

This commit is contained in:
Ahmed Ibrahim
2025-10-29 22:34:01 -07:00
parent 4223f5a381
commit 17ba27ed81
2 changed files with 5 additions and 1 deletions

View File

@@ -625,6 +625,10 @@ impl Session {
Ok(sess)
}
pub(crate) fn get_prompt_cache_key(&self) -> String {
self.prompt_cache_key.clone()
}
pub(crate) fn get_conversation_id(&self) -> ConversationId {
self.conversation_id
}

View File

@@ -45,7 +45,7 @@ pub(crate) async fn run_codex_conversation_interactive(
auth_manager,
InitialHistory::New,
SessionSource::SubAgent(SubAgentSource::Review),
Some(parent_session.get_conversation_id().to_string()),
Some(parent_session.get_prompt_cache_key()),
)
.await?;
let codex = Arc::new(codex);