Skip to content

Commit 8b470f5

Browse files
committed
Rebase and test
Signed-off-by: Mihai Criveti <[email protected]>
1 parent caddc74 commit 8b470f5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

mcpgateway/admin.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5399,8 +5399,8 @@ async def admin_list_a2a_agents(
53995399
<div class="border border-gray-200 dark:border-gray-600 rounded-lg p-4 space-y-3">
54005400
<div class="flex items-start justify-between">
54015401
<div class="flex-1">
5402-
<h4 class="text-lg font-medium text-gray-900 dark:text-gray-200">{agent['name']}</h4>
5403-
<p class="text-sm text-gray-600 dark:text-gray-400">{agent['description']}</p>
5402+
<h4 class="text-lg font-medium text-gray-900 dark:text-gray-200">{agent["name"]}</h4>
5403+
<p class="text-sm text-gray-600 dark:text-gray-400">{agent["description"]}</p>
54045404
<div class="mt-2 flex flex-wrap gap-2">
54055405
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium {status_class}">
54065406
{active_text}
@@ -5409,23 +5409,23 @@ async def admin_list_a2a_agents(
54095409
{reachable_text}
54105410
</span>
54115411
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
5412-
{agent['agent_type']}
5412+
{agent["agent_type"]}
54135413
</span>
54145414
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800">
5415-
Auth: {agent['auth_type']}
5415+
Auth: {agent["auth_type"]}
54165416
</span>
54175417
</div>
54185418
<div class="mt-2 text-xs text-gray-500 dark:text-gray-400">
5419-
<div>Endpoint: {agent['endpoint_url']}</div>
5420-
<div>Executions: {agent['execution_count']} | Success Rate: {agent['success_rate']}</div>
5421-
<div>Created: {agent['created_at'][:19]}</div>
5419+
<div>Endpoint: {agent["endpoint_url"]}</div>
5420+
<div>Executions: {agent["execution_count"]} | Success Rate: {agent["success_rate"]}</div>
5421+
<div>Created: {agent["created_at"][:19]}</div>
54225422
{last_interaction_html}
54235423
</div>
54245424
{tags_html}
54255425
</div>
54265426
<div class="flex space-x-2">
54275427
<button
5428-
hx-post="{{ root_path }}/admin/a2a/{agent['id']}/toggle"
5428+
hx-post="{{ root_path }}/admin/a2a/{agent["id"]}/toggle"
54295429
hx-vals='{{"activate": "{toggle_action}"}}'
54305430
hx-target="#a2a-agents-list"
54315431
hx-trigger="click"
@@ -5434,7 +5434,7 @@ async def admin_list_a2a_agents(
54345434
{toggle_text}
54355435
</button>
54365436
<button
5437-
hx-post="{{ root_path }}/admin/a2a/{agent['id']}/delete"
5437+
hx-post="{{ root_path }}/admin/a2a/{agent["id"]}/delete"
54385438
hx-target="#a2a-agents-list"
54395439
hx-trigger="click"
54405440
hx-confirm="Are you sure you want to delete this A2A agent?"

0 commit comments

Comments
 (0)