Integrate standard agent skills
This commit is contained in:
@@ -412,6 +412,10 @@ impl App {
|
||||
prompt.push_str("\n\n");
|
||||
prompt.push_str(agents);
|
||||
}
|
||||
if let Some(skills) = crate::agent::agent_skills_prompt() {
|
||||
prompt.push_str("\n\n");
|
||||
prompt.push_str(&skills);
|
||||
}
|
||||
prompt
|
||||
}
|
||||
|
||||
@@ -725,6 +729,7 @@ impl App {
|
||||
if let Some(skills) = self.dev_brain_skills_prompt() {
|
||||
reminders.push(skills);
|
||||
}
|
||||
reminders.extend(crate::agent::agent_skills_prompt());
|
||||
if self.config.a2ui_enabled {
|
||||
reminders.push(crate::a2ui::SYSTEM_PROMPT.to_owned());
|
||||
}
|
||||
@@ -1291,6 +1296,10 @@ impl App {
|
||||
child_turn.system_prompt.push_str("\n\n");
|
||||
child_turn.system_prompt.push_str(&skills);
|
||||
}
|
||||
if let Some(skills) = crate::agent::agent_skills_prompt() {
|
||||
child_turn.system_prompt.push_str("\n\n");
|
||||
child_turn.system_prompt.push_str(&skills);
|
||||
}
|
||||
tools
|
||||
.lock()
|
||||
.unwrap_or_else(|poisoned| poisoned.into_inner())
|
||||
|
||||
Reference in New Issue
Block a user