pub struct CompileContext {
pub base_url: String,
pub default_model: String,
pub cancelled: Arc<AtomicBool>,
pub cancellation: Arc<Notify>,
pub events: Arc<Mutex<Vec<GraphEvent>>>,
pub llm_calls: Arc<AtomicU64>,
pub max_llm_calls: Option<u64>,
pub llm_invocations: Arc<Mutex<Vec<Value>>>,
pub api_key: Option<String>,
}Fields§
§base_url: String§default_model: String§cancelled: Arc<AtomicBool>§cancellation: Arc<Notify>§events: Arc<Mutex<Vec<GraphEvent>>>§llm_calls: Arc<AtomicU64>§max_llm_calls: Option<u64>§llm_invocations: Arc<Mutex<Vec<Value>>>§api_key: Option<String>Provider API key for http(s) llm-pipeline calls (Bearer header).
Auto Trait Implementations§
impl Freeze for CompileContext
impl RefUnwindSafe for CompileContext
impl Send for CompileContext
impl Sync for CompileContext
impl Unpin for CompileContext
impl UnsafeUnpin for CompileContext
impl UnwindSafe for CompileContext
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