pub struct SupervisorSection {
pub harness: Option<String>,
pub model: Option<String>,
pub skill_path: Option<PathBuf>,
pub prompt_template_path: Option<PathBuf>,
pub observation_interval_s: u64,
pub printer_poll_s: u64,
pub unattended_window_s: u64,
pub auto_compact_tokens: Option<i64>,
pub idle_compact_tokens: Option<i64>,
pub check_turn_timeout_s: u64,
}Expand description
How the supervising agent is reached, as written down.
Fields§
§harness: Option<String>The harness identity turns run on.
model: Option<String>The model turns are pinned to, when one is pinned.
skill_path: Option<PathBuf>The installed skill’s SKILL.md, whose prose is sent as every turn’s
system prompt; the agent runs from the directory holding it. Required:
this program carries no skill, and an absent one refuses the start.
prompt_template_path: Option<PathBuf>The prompt template one turn fills, when the operator supplies one instead of the committed template this program carries.
observation_interval_s: u64How often every active print is given a periodic observation, and its agent a turn on it, in seconds. Left out, two minutes.
printer_poll_s: u64How often the printer watch reads the machine, whether or not a print is active, in seconds: from 5 to 300. Left out, fifteen seconds.
unattended_window_s: u64How long after a print ends interrupted or failed the printer
heating or moving on its own is recorded, in seconds: from 60 to
86400. Left out, an hour.
auto_compact_tokens: Option<i64>The conversation size, in tokens, at which the harness compacts a session on its own during a turn. Left out, nothing is set.
idle_compact_tokens: Option<i64>The conversation size, in tokens, at or above which a print’s session is compacted while no turn of it runs. Left out, never.
check_turn_timeout_s: u64How long a harness check’s one turn may take, in seconds: from 1 to 900. Left out, two minutes.
Trait Implementations§
Source§impl Clone for SupervisorSection
impl Clone for SupervisorSection
Source§impl Debug for SupervisorSection
impl Debug for SupervisorSection
Source§impl Default for SupervisorSection
impl Default for SupervisorSection
Source§impl<'de> Deserialize<'de> for SupervisorSection
impl<'de> Deserialize<'de> for SupervisorSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for SupervisorSection
Source§impl JsonSchema for SupervisorSection
impl JsonSchema for SupervisorSection
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for SupervisorSection
impl PartialEq for SupervisorSection
Source§impl Serialize for SupervisorSection
impl Serialize for SupervisorSection
impl StructuralPartialEq for SupervisorSection
Auto Trait Implementations§
impl Forget for SupervisorSection
impl Freeze for SupervisorSection
impl Move for SupervisorSection
impl RefUnwindSafe for SupervisorSection
impl Send for SupervisorSectionwhere
RawVecInner: Send,
impl Sync for SupervisorSectionwhere
RawVecInner: Sync,
impl Unpin for SupervisorSection
impl UnsafeUnpin for SupervisorSection
impl UnwindSafe for SupervisorSectionwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.