Skip to content

Conversation

@jif-oai
Copy link
Collaborator

@jif-oai jif-oai commented Oct 30, 2025

Extract the client and add the possibility to rely on the previous response ID provided by the responses API

use std::ffi::OsStr;
use std::io;
use std::path::Path;
use std::path::PathBuf;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Messed up by branches but this was bugging me

})
.collect::<Vec<serde_json::Value>>();
Ok(tools_json)
pub fn tools_metadata_for_prompt(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo

state.replace_history(items);
}

async fn update_responses_api_chain_state(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo

};

let state = SessionState::new(session_configuration.clone());
let model_family = find_family_for_model(&session_configuration.model)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo or pipe the config?

@etraut-openai etraut-openai added the oai-pr PRs posted by Codex team members label Oct 31, 2025
@insilications
Copy link

This ResponsesApiChaining feature seems very nice... This would close my #4047

If ResponsesApiChaining is enabled, wouldn't the payload also need store set to true?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oai-pr PRs posted by Codex team members

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants