pub struct Brief {
pub goal: String,
pub verification_cmd: String,
pub max_cost_usd: Option<f64>,
pub instructions: Option<String>,
}Expand description
What the conversation model decided. The worker reads this and can never change it.
There is deliberately no &mut accessor and no setter. Blyte previously asserted
“the orchestrator states the verification command” as doctrine while the code happily let
the worker’s own test become the gate; making it structurally impossible is the difference
between a rule and a property.
Fields§
§goal: StringWhat success means, in prose, for the worker.
verification_cmd: StringThe shell command whose exit code decides completion. Exit 0 and only exit 0.
max_cost_usd: Option<f64>§instructions: Option<String>Set for blyte --converse: the conversation model’s instructions, which replace the implementer’s
framing in the system prompt.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Brief
impl<'de> Deserialize<'de> for Brief
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Brief
Auto Trait Implementations§
impl Forget for Brief
impl Freeze for Brief
impl Move for Brief
impl RefUnwindSafe for Brief
impl Send for Briefwhere
RawVecInner: Send,
impl Sync for Briefwhere
RawVecInner: Sync,
impl Unpin for Brief
impl UnsafeUnpin for Brief
impl UnwindSafe for Briefwhere
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
Mutably borrows from an owned value. Read more