You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Warning: Exceeded skills context budget of 2%. All skill descriptions were removed and 7 additional skills were not included in the model-visible skills list."
336
+
"Exceeded skills context budget of 2%. All skill descriptions were removed and 7 additional skills were not included in the model-visible skills list."
pubconstSKILL_DESCRIPTION_TRUNCATED_WARNING_PREFIX:&str = "Warning: Exceeded skills context budget. Loaded skill descriptions were truncated by an average of";
21
+
pubconstSKILL_DESCRIPTION_TRUNCATED_WARNING:&str = "Skill descriptions were shortened to fit the skills context budget. Codex can still see every skill, but some descriptions are shorter. Disable unused skills or plugins to leave more room for the rest.";
22
+
pubconstSKILL_DESCRIPTION_TRUNCATED_WARNING_WITH_PERCENT:&str = "Skill descriptions were shortened to fit the 2% skills context budget. Codex can still see every skill, but some descriptions are shorter. Disable unused skills or plugins to leave more room for the rest.";
"Warning: Exceeded skills context budget. All skill descriptions were removed and";
24
+
"Exceeded skills context budget. All skill descriptions were removed and";
24
25
pubconstSKILLS_INTRO_WITH_ABSOLUTE_PATHS:&str = "A skill is a set of local instructions to follow that is stored in a `SKILL.md` file. Below is the list of skills that can be used. Each entry includes a name, description, and file path so you can open the source for full instructions when using a specific skill.";
25
26
pubconstSKILLS_INTRO_WITH_ALIASES:&str = "A skill is a set of local instructions to follow that is stored in a `SKILL.md` file. Below is the list of skills that can be used. Each entry includes a name, description, and a short path that can be expanded into an absolute path using the skill roots table.";
26
27
pubconstSKILLS_HOW_TO_USE_WITH_ABSOLUTE_PATHS:&str = r###"- Discovery: The list above is the skills available in this session (name + description + file path). Skill bodies live on disk at the listed paths.
"Warning: Exceeded skills context budget. Loaded skilldescriptions were truncated by an average of 14 characters per skill."
1075
+
"Skill descriptions were shortened to fit the skills context budget. Codex can still see every skill, but some descriptions are shorter. Disable unused skills or plugins to leave more room for the rest."
let short = make_skill_with_description("short-skill",SkillScope::Repo,"x");
@@ -1116,7 +1140,7 @@ mod tests {
1116
1140
assert_eq!(
1117
1141
rendered.warning_message,
1118
1142
Some(
1119
-
"Warning: Exceeded skills context budget. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list."
1143
+
"Exceeded skills context budget. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list."
1120
1144
.to_string()
1121
1145
)
1122
1146
);
@@ -1145,7 +1169,7 @@ mod tests {
1145
1169
assert_eq!(
1146
1170
rendered.warning_message,
1147
1171
Some(
1148
-
"Warning: Exceeded skills context budget. All skill descriptions were removed and 1 additional skill was not included in the model-visible skills list."
1172
+
"Exceeded skills context budget. All skill descriptions were removed and 1 additional skill was not included in the model-visible skills list."
"Warning: Exceeded skills context budget. All skill descriptions were removed and 1 additional skill was not included in the model-visible skills list."
5610
+
"Exceeded skills context budget. All skill descriptions were removed and 1 additional skill was not included in the model-visible skills list."
if message == "Warning: Exceeded skills context budget of 2%. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list."
5721
+
if message == "Exceeded skills context budget of 2%. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list."
5722
5722
));
5723
5723
5724
5724
let _ = session.build_initial_context(&turn_context).await;
if message == "Warning: Exceeded skills context budget of 2%. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list."
5732
+
if message == "Exceeded skills context budget of 2%. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list."
message:"Warning: Exceeded skills context budget of 2%. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list.".to_string(),
194
+
message:"Exceeded skills context budget of 2%. All skill descriptions were removed and 2 additional skills were not included in the model-visible skills list.".to_string(),
0 commit comments