fix: skill loading on agents
This commit is contained in:
1 parent
f6b4bf05b6
commit
744dd213f5
2 files changed
+16
-3
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user