mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
core: generalize interrupted tool-result handling
This commit is contained in:
@@ -74,6 +74,12 @@ pub enum ToolOutput {
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct ToolDispatchOutput {
|
||||
pub response_input: ResponseInputItem,
|
||||
pub interrupt_turn: bool,
|
||||
}
|
||||
|
||||
impl ToolOutput {
|
||||
pub fn log_preview(&self) -> String {
|
||||
match self {
|
||||
|
||||
Reference in New Issue
Block a user