pub struct SkillConfigParams {
pub disambiguation_threshold: f32,
pub two_stage_matching: bool,
pub confusability_threshold: f32,
pub group_structured: bool,
pub support_similarity_threshold: f32,
pub min_injection_score: f32,
pub generation_provider_name: String,
pub disambiguate_provider_name: String,
pub semantic_scan: bool,
pub semantic_scan_provider_name: String,
}Expand description
Skill-subsystem config values applied identically at every Agent construction entry point.
Bundles the fields consumed by Agent::with_skill_matching_config,
Agent::with_skill_group_config, Agent::with_skill_provider_names, and
Agent::with_semantic_scan for use with Agent::with_skill_config, which applies all
four in one call. This deduplicates the 4-call chain that was independently copy-pasted
across src/runner.rs, src/daemon.rs, src/serve/agent_factory.rs, and src/acp.rs — each
site had shipped a swapped- or missing-argument regression at some point (#5819, #5867,
#5827) because the mapping had to be kept in sync by hand in four places.
Fields§
§disambiguation_threshold: f32See Agent::with_skill_matching_config’s disambiguation_threshold parameter.
two_stage_matching: boolSee Agent::with_skill_matching_config’s two_stage_matching parameter.
confusability_threshold: f32See Agent::with_skill_matching_config’s confusability_threshold parameter.
group_structured: boolSee Agent::with_skill_group_config’s group_structured parameter.
support_similarity_threshold: f32See Agent::with_skill_group_config’s support_similarity_threshold parameter.
min_injection_score: f32See Agent::with_skill_group_config’s min_injection_score parameter.
generation_provider_name: StringSee Agent::with_skill_provider_names’s generation_provider_name parameter.
disambiguate_provider_name: StringSee Agent::with_skill_provider_names’s disambiguate_provider_name parameter.
semantic_scan: boolSee Agent::with_semantic_scan’s enabled parameter.
semantic_scan_provider_name: StringSee Agent::with_semantic_scan’s provider_name parameter.
Trait Implementations§
Source§impl Clone for SkillConfigParams
impl Clone for SkillConfigParams
Source§fn clone(&self) -> SkillConfigParams
fn clone(&self) -> SkillConfigParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SkillConfigParams
impl Debug for SkillConfigParams
Source§impl From<&SkillsConfig> for SkillConfigParams
Extracts the fields Agent::with_skill_config needs from a full [skills] config
section — the shape available at src/runner.rs’s and src/daemon.rs’s call sites, which
hold the whole Config rather than pre-extracted scalars.
impl From<&SkillsConfig> for SkillConfigParams
Extracts the fields Agent::with_skill_config needs from a full [skills] config
section — the shape available at src/runner.rs’s and src/daemon.rs’s call sites, which
hold the whole Config rather than pre-extracted scalars.
Source§fn from(skills: &SkillsConfig) -> Self
fn from(skills: &SkillsConfig) -> Self
Auto Trait Implementations§
impl Freeze for SkillConfigParams
impl RefUnwindSafe for SkillConfigParams
impl Send for SkillConfigParams
impl Sync for SkillConfigParams
impl Unpin for SkillConfigParams
impl UnsafeUnpin for SkillConfigParams
impl UnwindSafe for SkillConfigParams
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,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request