Fix Local Agent Execution And Auth Checks

- Gate server requests on available credentials
- Run local child agents directly without a parent run ID
- Include command IDs in Bedrock context and recognize transfer tools
This commit is contained in:
2026-07-28 10:43:59 -05:00
parent 87e0c83e9e
commit a078287f4b
35 changed files with 1078 additions and 237 deletions
+3 -1
View File
@@ -130,7 +130,9 @@ impl Requests {
};
if cached_request_limit_info.is_none()
&& AuthStateProvider::as_ref(ctx).get().is_logged_in()
&& AuthStateProvider::as_ref(ctx)
.get()
.has_server_credentials()
{
let ai_client = requests.ai_client.clone();
let _ = ctx.spawn(