feat(update scan fe logic):

This commit is contained in:
Alexander Myasoedov
2025-02-17 19:48:06 +02:00
parent 3e1dd27f03
commit 653e9a7234
2 changed files with 3 additions and 3 deletions
-1
View File
@@ -2,7 +2,6 @@ from datetime import datetime
from fastapi import APIRouter, BackgroundTasks, File, HTTPException, Query, UploadFile
from fastapi.responses import StreamingResponse
from ..core.app import get_stop_event, get_tools_inbox, set_current_run
from ..http_spec import LLMSpec
from ..models.schemas import LLMInfo, Scan
+3 -2
View File
@@ -94,7 +94,8 @@
<h2 class="text-2xl font-bold">LLM API Spec</h2>
<span :class="statusDotClass"
class="w-3 h-3 rounded-full mr-2"></span>
class="w-3 h-3 rounded-full mr-2"></span>
<span v-if="latency" class="text-sm text-gray-400 ml-2">Latency: {{latency}}s</span>
<svg :class="{'rotate-180': showLLMSpec}"
class="w-6 h-6 transition-transform duration-200"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"
@@ -104,7 +105,7 @@
</svg>
</div>
<div v-show="showLLMSpec" class="mt-4">
<div class="mt-4">
<label v-if="isFocused" for="llm-spec"
class="block text-sm font-medium mb-2">
LLM API Spec, PROMPT variable will be replaced with the testing