pub struct TaskTiers {
pub main: Tier,
pub subagent: Tier,
pub compact: Tier,
pub memory: Tier,
pub title: Tier,
pub web_search: Tier,
pub web_fetch: Option<Tier>,
}Expand description
The tier each kind of model call asks for. The task types: main (the
conversation), subagent (sub-agents started without a model of their
own), compact (summarizing for compaction), memory (extracting
memories), title (naming a session), web_search (WebSearch) and
web_fetch (WebFetch reading a page — unset, WebFetch uses no model
and returns the page text).
Fields§
§main: TierDefault strong.
subagent: TierDefault balanced.
compact: TierDefault fast.
memory: TierDefault fast.
title: TierDefault fast.
web_search: TierDefault fast.
web_fetch: Option<Tier>Default unset: no model reads fetched pages.
Implementations§
Source§impl TaskTiers
impl TaskTiers
pub const MAIN: &'static str = "main"
pub const SUBAGENT: &'static str = "subagent"
pub const COMPACT: &'static str = "compact"
pub const MEMORY: &'static str = "memory"
pub const TITLE: &'static str = "title"
pub const WEB_SEARCH: &'static str = "web_search"
pub const WEB_FETCH: &'static str = "web_fetch"
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskTiers
impl<'de> Deserialize<'de> for TaskTiers
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 Eq for TaskTiers
Source§impl JsonSchema for TaskTiers
impl JsonSchema for TaskTiers
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for TaskTiers
Auto Trait Implementations§
impl Forget for TaskTiers
impl Freeze for TaskTiers
impl Move for TaskTiers
impl RefUnwindSafe for TaskTiers
impl Send for TaskTiers
impl Sync for TaskTiers
impl Unpin for TaskTiers
impl UnsafeUnpin for TaskTiers
impl UnwindSafe for TaskTiers
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