Add status to show the reasoning log

This commit is contained in:
Ettore Di Giacinto
2024-04-13 00:16:28 +02:00
parent 4b41653d00
commit 74b158e9f1
4 changed files with 144 additions and 18 deletions

View File

@@ -48,9 +48,13 @@
<tbody class="bg-gray-800 divide-y divide-gray-700">
<!-- Dynamic agent rows go here -->
{{ range .Agents }}
<tr hx-ext="sse" sse-connect="/sse/{{.}}">
<tr hx-ext="sse">
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-300">{{.}}</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300"><div sse-swap="status" ></div></td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-300">
<a href="/status/{{.}}" class="text-indigo-500 hover:text-indigo-400">
<i class="fas fa-info"></i> Status
</a>
</td>
<td class="px-6 py-4 whitespace-nowrap text-center text-sm font-medium">
<a href="/talk/{{.}}" class="text-indigo-500 hover:text-indigo-400">
<i class="fas fa-comments"></i> Talk