Add system prompt and tool permission to agent2 (#35781)

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Antonio Scandurra
2025-08-07 13:40:12 +00:00
committed by GitHub
co-authored by Ben Brandt Max Brunsfeld
parent 4dbd24d75f
commit 03876d076e
21 changed files with 1110 additions and 303 deletions
+1 -1
View File
@@ -3147,7 +3147,7 @@ mod tests {
let task = cx.spawn(async move |cx| {
if let Some((tool_call, options)) = permission_request {
let permission = thread.update(cx, |thread, cx| {
thread.request_tool_call_permission(
thread.request_tool_call_authorization(
tool_call.clone(),
options.clone(),
cx,