pub enum PromptSource {
File(String),
Native(String),
}Expand description
Where a plugin’s system-prompt section comes from.
Variants§
File(String)
A file of the plugin ("system_prompt": "prompt.md").
Native(String)
An in-tree builder by id ("system_prompt": {"native": "artifacts"}).
Trait Implementations§
Source§impl Clone for PromptSource
impl Clone for PromptSource
Source§impl Debug for PromptSource
impl Debug for PromptSource
impl Eq for PromptSource
Source§impl PartialEq for PromptSource
impl PartialEq for PromptSource
Source§impl Serialize for PromptSource
impl Serialize for PromptSource
impl StructuralPartialEq for PromptSource
Auto Trait Implementations§
impl Forget for PromptSource
impl Freeze for PromptSource
impl Move for PromptSource
impl RefUnwindSafe for PromptSource
impl Send for PromptSource
impl Sync for PromptSource
impl Unpin for PromptSource
impl UnsafeUnpin for PromptSource
impl UnwindSafe for PromptSource
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
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.