feat: Support extending the system prompt (#1167)

This commit is contained in:
Bradley Axen
2025-02-11 20:03:32 -08:00
committed by GitHub
parent a5e2419380
commit 6220ef054f
8 changed files with 88 additions and 1 deletions
+3
View File
@@ -28,4 +28,7 @@ pub trait Agent: Send + Sync {
/// Get the total usage of the agent
async fn usage(&self) -> Vec<ProviderUsage>;
/// Add custom text to be included in the system prompt
async fn extend_system_prompt(&mut self, extension: String);
}