mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
initial_history
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user