feat: AgentManager - foundation for unified execution (#4389) (#4684)

This commit is contained in:
tlongwell-block
2025-09-24 16:15:26 -04:00
committed by GitHub
parent ad045bc94c
commit 9d40422e2d
34 changed files with 896 additions and 352 deletions
@@ -144,7 +144,11 @@ pub async fn detect_read_only_tools(
.unwrap_or_else(|_| "You are a good analyst and can detect operations whether they have read-only operations.".to_string());
let res = provider
.complete(&system_prompt, check_messages.messages(), &[tool.clone()])
.complete(
&system_prompt,
check_messages.messages(),
std::slice::from_ref(&tool),
)
.await;
// Process the response and return an empty vector if the response is invalid