This commit is contained in:
jif-oai
2025-12-02 10:09:37 +00:00
parent 37138e64a7
commit 70810cb547

View File

@@ -64,6 +64,11 @@ impl PromptBuilder {
self
}
/// For integration tests only.
pub fn push_input(&mut self, item: ResponseItem) {
self.input.push(item);
}
pub(crate) fn with_tools(mut self, tools: Vec<ToolSpec>) -> Self {
self.tools = tools;
self
@@ -369,13 +374,6 @@ mod tests {
pub slug: &'static str,
pub expects_apply_patch_instructions: bool,
}
impl PromptBuilder {
pub fn push_input(&mut self, item: ResponseItem) {
self.input.push(item);
}
}
#[test]
fn get_full_instructions_no_user_content() {
let prompt = PromptBuilder {