fix: skill loading on agents

This commit is contained in:
2026-06-01 16:37:17 -06:00
parent dc8e831f27
commit 8ff9d84a85
2 changed files with 16 additions and 3 deletions
+7
View File
@@ -207,6 +207,13 @@ impl Agent {
functions.append_teammate_functions();
functions.append_user_interaction_functions();
if app.function_calling_support
&& app.skills_enabled
&& !matches!(agent_config.skills_enabled, Some(false))
{
functions.append_skill_functions();
}
agent_config.replace_tools_placeholder(&functions);
Ok(Self {