Base: codex-main originale (prima del fork aKode)
This commit is contained in:
20
codex-rs/ext/skills/src/config.rs
Normal file
20
codex-rs/ext/skills/src/config.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
use std::num::NonZeroUsize;
|
||||
|
||||
/// Host-supplied configuration used by the skills extension.
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct SkillsExtensionConfig {
|
||||
/// Whether the available-skills catalog is included in model context.
|
||||
pub include_instructions: bool,
|
||||
/// Whether skill additions and edits share a cumulative metadata budget until compaction.
|
||||
pub catalog_deltas_enabled: bool,
|
||||
/// Whether descriptions are omitted from rendered catalogs only.
|
||||
pub omit_descriptions: bool,
|
||||
/// Optional token budget override for the available-skills catalog.
|
||||
pub max_context_tokens: Option<NonZeroUsize>,
|
||||
/// Whether bundled skills are eligible for discovery.
|
||||
pub bundled_skills_enabled: bool,
|
||||
/// Whether cloud skills are discovered and exposed to the model.
|
||||
pub cloud_skill_enabled: bool,
|
||||
/// Whether cheap skill selectors run in shadow mode without changing prompt contents.
|
||||
pub shadow_selection_enabled: bool,
|
||||
}
|
||||
Reference in New Issue
Block a user