Skip to content

Commit 653e9a7

Browse files
committed
feat(update scan fe logic):
1 parent 3e1dd27 commit 653e9a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

agentic_security/routes/scan.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from fastapi import APIRouter, BackgroundTasks, File, HTTPException, Query, UploadFile
44
from fastapi.responses import StreamingResponse
5-
65
from ..core.app import get_stop_event, get_tools_inbox, set_current_run
76
from ..http_spec import LLMSpec
87
from ..models.schemas import LLMInfo, Scan

agentic_security/static/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ <h2 class="text-2xl font-bold mb-4">Select a Config</h2>
9494

9595
<h2 class="text-2xl font-bold">LLM API Spec</h2>
9696
<span :class="statusDotClass"
97-
class="w-3 h-3 rounded-full mr-2"></span>
97+
class="w-3 h-3 rounded-full mr-2"></span>
98+
<span v-if="latency" class="text-sm text-gray-400 ml-2">Latency: {{latency}}s</span>
9899
<svg :class="{'rotate-180': showLLMSpec}"
99100
class="w-6 h-6 transition-transform duration-200"
100101
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"
@@ -104,7 +105,7 @@ <h2 class="text-2xl font-bold">LLM API Spec</h2>
104105
</svg>
105106
</div>
106107

107-
<div v-show="showLLMSpec" class="mt-4">
108+
<div class="mt-4">
108109
<label v-if="isFocused" for="llm-spec"
109110
class="block text-sm font-medium mb-2">
110111
LLM API Spec, PROMPT variable will be replaced with the testing

0 commit comments

Comments
 (0)