pub struct PipelineConfig {
pub max_chars: usize,
pub max_chars_per_item: usize,
pub max_description_len: usize,
pub format: OutputFormat,
pub include_hints: bool,
pub page_cursor: Option<String>,
pub tool_name: Option<String>,
pub chunk: Option<usize>,
}Expand description
Configuration for pipeline transformations.
Fields§
§max_chars: usizeMaximum characters for the entire output (0 = no limit).
Used as budget ceiling — converted to tokens via max_chars / 3.5.
max_chars_per_item: usizeMaximum characters per item (e.g., diff content)
max_description_len: usizeMaximum description/body length before truncation (only outliers get truncated)
format: OutputFormat§include_hints: boolWhether to include agent hints about truncation
page_cursor: Option<String>Page cursor from a previous request (for pagination)
tool_name: Option<String>Tool name for strategy resolution (e.g., “get_issues”, “get_merge_request_diffs”)
chunk: Option<usize>Chunk number to return (1-based). When set, pipeline skips to that chunk instead of returning chunk 1. Used for chunk index navigation.
Trait Implementations§
Source§impl Clone for PipelineConfig
impl Clone for PipelineConfig
Source§fn clone(&self) -> PipelineConfig
fn clone(&self) -> PipelineConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineConfig
impl Debug for PipelineConfig
Auto Trait Implementations§
impl Freeze for PipelineConfig
impl RefUnwindSafe for PipelineConfig
impl Send for PipelineConfig
impl Sync for PipelineConfig
impl Unpin for PipelineConfig
impl UnsafeUnpin for PipelineConfig
impl UnwindSafe for PipelineConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more