Skip to main content

skill_version

Function skill_version 

Source
pub fn skill_version(
    reported: Option<&str>,
) -> Result<Option<Hint>, SkillRefusal>
Expand description

Checks the skill_version a call sent against CURRENT_SKILL_VERSION and MINIMUM_SKILL_VERSION. No hint means the skill is current or newer. A missing version only gives a hint here; tools that need the skill refuse it with skill_missing.