Skip to main content

insert_block_after_tool_results

Function insert_block_after_tool_results 

Source
pub fn insert_block_after_tool_results(content: &mut Vec<Value>, block: Value)
Expand description

Inserts a block into the content array after the last tool_result block. Mutates the array in place.

ยงArguments

  • content - The content array to modify
  • block - The block to insert