pub enum SystemPlacement {
Instructions,
InputMessage,
}Expand description
Where the hoisted System prompt is placed on the Responses wire.
Variants§
Instructions
Top-level instructions (codex’s shape; probes P4/P5 confirm it works
through OpenRouter for OpenAI and xAI models). The default.
InputMessage
A role:"system" input message (grok’s shape) — the escape hatch.
Trait Implementations§
Source§impl Clone for SystemPlacement
impl Clone for SystemPlacement
Source§fn clone(&self) -> SystemPlacement
fn clone(&self) -> SystemPlacement
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 moreimpl Copy for SystemPlacement
Source§impl Debug for SystemPlacement
impl Debug for SystemPlacement
Source§impl Default for SystemPlacement
impl Default for SystemPlacement
Source§fn default() -> SystemPlacement
fn default() -> SystemPlacement
Returns the “default value” for a type. Read more
impl Eq for SystemPlacement
Source§impl PartialEq for SystemPlacement
impl PartialEq for SystemPlacement
impl StructuralPartialEq for SystemPlacement
Auto Trait Implementations§
impl Freeze for SystemPlacement
impl RefUnwindSafe for SystemPlacement
impl Send for SystemPlacement
impl Sync for SystemPlacement
impl Unpin for SystemPlacement
impl UnsafeUnpin for SystemPlacement
impl UnwindSafe for SystemPlacement
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
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,
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
Compare self to
key and return true if they are equal.